diff --git a/t3/src/app/_components/post.tsx b/t3/src/app/_components/post.tsx index 1b5eec2..3cfc911 100644 --- a/t3/src/app/_components/post.tsx +++ b/t3/src/app/_components/post.tsx @@ -5,7 +5,7 @@ import { useState } from "react"; import { api } from "@/trpc/react"; export function LatestPost() { - // const { data: latestPost } = api.post.getLatest.useQuery(); + const { data: latestPost } = api.post.getLatest.useQuery(); const utils = api.useUtils(); const [name, setName] = useState(""); @@ -18,11 +18,11 @@ export function LatestPost() { return (
Your most recent post: {latestPost.name}
) : (You have no posts yet.
- )} */} + )}