Skip to content

Commit 8fcb0b9

Browse files
committed
fix: Bug report: remove date from whitepaper page #13645
1 parent b5df8b6 commit 8fcb0b9

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/layouts/Static.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,15 @@ export const StaticLayout = ({
117117
<>
118118
<Breadcrumbs slug={slug} mb="8" />
119119

120-
<Text
121-
color="text200"
122-
dir={isLangRightToLeft(locale as Lang) ? "rtl" : "ltr"}
123-
>
124-
<Translation id="page-last-updated" />:{" "}
125-
{lastEditLocaleTimestamp}
126-
</Text>
120+
{slug !== "/whitepaper" && !asPath.includes("/whitepaper") && (
121+
<Text
122+
color="text200"
123+
dir={isLangRightToLeft(locale as Lang) ? "rtl" : "ltr"}
124+
>
125+
<Translation id="page-last-updated" />:{" "}
126+
{lastEditLocaleTimestamp}
127+
</Text>
128+
)}
127129
</>
128130
)}
129131

0 commit comments

Comments
 (0)