diff --git a/app/post/[id]/page.tsx b/app/post/[id]/page.tsx index 62384a1..c1d6fa2 100644 --- a/app/post/[id]/page.tsx +++ b/app/post/[id]/page.tsx @@ -1,9 +1,13 @@ import { HydrateClient } from "~/client/HydrateClient"; import { rsc } from "~/server-rsc/trpc"; -type FIXMEType = any; +type Props = { + params: { + id: string; + }; +}; -export default async function Page(props: FIXMEType) { +export default async function Page(props: Props) { const post = await rsc.post.byId.fetch({ id: props.params.id }); return (