Skip to content

Commit 241bd9b

Browse files
SoheilTylerAPfledderer
andauthored
Apply suggestions from code review
Co-authored-by: Tyler Pfledderer <[email protected]>
1 parent b47ef93 commit 241bd9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/templates/static.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,10 @@ const StaticPage = ({
286286
<Breadcrumbs slug={slug} />
287287
<Text
288288
color="text200"
289-
dir={isLangRightToLeft(intl.locale as Lang) ? "rtl" : "ltr"}
289+
dir={isLangRightToLeft(language as Lang) ? "rtl" : "ltr"}
290290
>
291291
<Translation id="page-last-updated" />:{" "}
292-
{getLocaleTimestamp(intl.locale as Lang, lastUpdatedDate)}
292+
{getLocaleTimestamp(language as Lang, lastUpdatedDate)}
293293
</Text>
294294
<TableOfContents
295295
position="relative"

0 commit comments

Comments
 (0)