feat(seo): heading structure + SSR person profile

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
nerandClaude Fable 5 committed 2026-08-07 17:07:48 +03:00
1 parent 9b64f137f1
commit cd34f4eb5f
9 files changed
+30 -7

No files matched your search

+5 -1
View File
@@ -41,7 +41,11 @@ export const generateMetadata = async ({ params: { id } }: Props): Promise<Metad
const PersonPage: FC<Props> = async ({ params: { id } }) => {
const queryClient = getQueryClient();
queryClient.prefetchQuery(personQuery({ personId: id }));
try {
await queryClient.fetchQuery(personQuery({ personId: id }));
} catch (_) {
return notFound();
}
return (
<HydrationBoundary state={dehydrate(queryClient)}>