Skip to content

Commit c2e25ac

Browse files
committed
fix: post title
1 parent 099cef1 commit c2e25ac

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/routes/profile/$handle/post.$postId.lazy.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ function Post() {
4848
<>
4949
<Helmet>
5050
<link rel="canonical" href={`https://bsky.app/profile/${handle}/post/${params.postId}`} />
51+
<title>
52+
{profile.displayName ?? profile.handle}
53+
{': "'}
54+
{(postThread?.post as BSkyPost).record.text}
55+
{'"'}
56+
</title>
5157
</Helmet>
5258
<StickyHeader>
5359
<h1 className="text-xl font-bold">{t('post')}</h1>

0 commit comments

Comments
 (0)