Skip to content

Commit b0e206b

Browse files
committed
Update page.tsx
1 parent a02b43e commit b0e206b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/posts/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default async function Page({ params }: PageProps) {
6969
<html lang={post.lang} suppressHydrationWarning>
7070
<body>
7171
<StatsCollection />
72-
<SiteHeader />
72+
<SiteHeader lang={post.lang === "zh-HK" ? "zh-HK" : "en"} />
7373
<PostHeader post={post} />
7474
<div className="markdown-body" dangerouslySetInnerHTML={{ __html: post.content }} />
7575
<SiteFooter />

0 commit comments

Comments
 (0)