File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,11 @@ export type FooterProps = {
55
55
}
56
56
57
57
const Footer = ( { lastDeployDate } : FooterProps ) => {
58
- const { asPath , locale } = useRouter ( )
58
+ const { locale } = useRouter ( )
59
59
const { t } = useTranslation ( "common" )
60
60
61
61
// TODO: check if `medBp` is being used or remove it
62
62
const [ medBp ] = useToken ( "breakpoints" , [ "md" ] )
63
-
64
- const is500Page = asPath . includes ( "/500" )
65
-
66
63
const linkSections : Array < LinkSection > = [
67
64
{
68
65
title : t ( "use-ethereum" ) ,
@@ -301,12 +298,10 @@ const Footer = ({ lastDeployDate }: FooterProps) => {
301
298
alignItems = "center"
302
299
flexWrap = "wrap"
303
300
>
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 >
310
305
< Box my = { 4 } >
311
306
{ socialLinks . map ( ( link , idk ) => {
312
307
return (
You can’t perform that action at this time.
0 commit comments