Skip to content

Commit 2542880

Browse files
authored
Merge pull request #13710 from gks2022004/removedate
fix: Remove date from whitepaper page #13645
2 parents 667c9c8 + 65cb88a commit 2542880

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
@@ -111,13 +111,15 @@ export const StaticLayout = ({
111111
<Stack className="gap-8">
112112
<Breadcrumbs slug={slug} />
113113

114-
<p
115-
className="text-body-medium"
116-
dir={isLangRightToLeft(locale as Lang) ? "rtl" : "ltr"}
117-
>
118-
<Translation id="page-last-updated" />:{" "}
119-
{lastEditLocaleTimestamp}
120-
</p>
114+
{!asPath.includes("/whitepaper") && (
115+
<p
116+
className="text-body-medium"
117+
dir={isLangRightToLeft(locale as Lang) ? "rtl" : "ltr"}
118+
>
119+
<Translation id="page-last-updated" />:{" "}
120+
{lastEditLocaleTimestamp}
121+
</p>
122+
)}
121123
</Stack>
122124
)}
123125

0 commit comments

Comments
 (0)