Skip to content

Commit 1736d4c

Browse files
committed
Revert "debug: patch page warnings"
This reverts commit 57eb586.
1 parent 57eb586 commit 1736d4c

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/components/Footer.tsx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,11 @@ export type FooterProps = {
5555
}
5656

5757
const Footer = ({ lastDeployDate }: FooterProps) => {
58-
const { asPath, locale } = useRouter()
58+
const { locale } = useRouter()
5959
const { t } = useTranslation("common")
6060

6161
// TODO: check if `medBp` is being used or remove it
6262
const [medBp] = useToken("breakpoints", ["md"])
63-
64-
const is500Page = asPath.includes("/500")
65-
6663
const linkSections: Array<LinkSection> = [
6764
{
6865
title: t("use-ethereum"),
@@ -301,12 +298,10 @@ const Footer = ({ lastDeployDate }: FooterProps) => {
301298
alignItems="center"
302299
flexWrap="wrap"
303300
>
304-
{!is500Page && (
305-
<Box color="text200">
306-
<Translation id="website-last-updated" />:{" "}
307-
{getLocaleTimestamp(locale as Lang, lastDeployDate!)}
308-
</Box>
309-
)}
301+
<Box color="text200">
302+
<Translation id="website-last-updated" />:{" "}
303+
{getLocaleTimestamp(locale as Lang, lastDeployDate!)}
304+
</Box>
310305
<Box my={4}>
311306
{socialLinks.map((link, idk) => {
312307
return (

0 commit comments

Comments
 (0)