Skip to content

Commit

Permalink
fix: Bug report: remove date from whitepaper page ethereum#13645
Browse files Browse the repository at this point in the history
  • Loading branch information
gks2022004 committed Aug 23, 2024
1 parent b5df8b6 commit 8fcb0b9
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/layouts/Static.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,15 @@ export const StaticLayout = ({
<>
<Breadcrumbs slug={slug} mb="8" />

<Text
color="text200"
dir={isLangRightToLeft(locale as Lang) ? "rtl" : "ltr"}
>
<Translation id="page-last-updated" />:{" "}
{lastEditLocaleTimestamp}
</Text>
{slug !== "/whitepaper" && !asPath.includes("/whitepaper") && (
<Text
color="text200"
dir={isLangRightToLeft(locale as Lang) ? "rtl" : "ltr"}
>
<Translation id="page-last-updated" />:{" "}
{lastEditLocaleTimestamp}
</Text>
)}
</>
)}

Expand Down

0 comments on commit 8fcb0b9

Please sign in to comment.