diff --git a/app/lish/[did]/[publication]/[rkey]/PostHeader/PostHeader.tsx b/app/lish/[did]/[publication]/[rkey]/PostHeader/PostHeader.tsx index 329e9279..1d30f509 100644 --- a/app/lish/[did]/[publication]/[rkey]/PostHeader/PostHeader.tsx +++ b/app/lish/[did]/[publication]/[rkey]/PostHeader/PostHeader.tsx @@ -10,7 +10,6 @@ import { SpeedyLink } from "components/SpeedyLink"; export function PostHeader(props: { data: PostPageData; - name: string; profile: ProfileViewDetailed; preferences: { showComments?: boolean }; }) { @@ -47,7 +46,7 @@ export function PostHeader(props: { ) } > - {props.name} + {pub?.name} {identity && identity.atp_did === diff --git a/app/lish/[did]/[publication]/[rkey]/PostPage.tsx b/app/lish/[did]/[publication]/[rkey]/PostPage.tsx index 3e4b2d85..09bff942 100644 --- a/app/lish/[did]/[publication]/[rkey]/PostPage.tsx +++ b/app/lish/[did]/[publication]/[rkey]/PostPage.tsx @@ -17,7 +17,6 @@ import { AppBskyFeedDefs } from "@atproto/api"; export function PostPage({ document, blocks, - name, did, profile, preferences, @@ -27,7 +26,6 @@ export function PostPage({ }: { document: PostPageData; blocks: PubLeafletPagesLinearDocument.Block[]; - name: string; profile: ProfileViewDetailed; pubRecord: PubLeafletPublication.Record; did: string; @@ -68,7 +66,6 @@ export function PostPage({ )} diff --git a/app/lish/[did]/[publication]/[rkey]/page.tsx b/app/lish/[did]/[publication]/[rkey]/page.tsx index 7162364b..4a5398c7 100644 --- a/app/lish/[did]/[publication]/[rkey]/page.tsx +++ b/app/lish/[did]/[publication]/[rkey]/page.tsx @@ -159,7 +159,6 @@ export default async function Post(props: { bskyPostData={bskyPostData.data.posts} did={did} blocks={blocks} - name={decodeURIComponent((await props.params).publication)} prerenderedCodeBlocks={prerenderedCodeBlocks} />