Skip to content
This repository was archived by the owner on May 19, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions app/post/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down