refactor: update
This commit is contained in:
@@ -6,7 +6,7 @@ import { api, HydrateClient } from "@/trpc/server";
|
|||||||
export default async function Home() {
|
export default async function Home() {
|
||||||
const hello = await api.post.hello({ text: "from tRPC" });
|
const hello = await api.post.hello({ text: "from tRPC" });
|
||||||
|
|
||||||
void api.post.getLatest.prefetch();
|
// void api.post.getLatest.prefetch();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<HydrateClient>
|
<HydrateClient>
|
||||||
|
|||||||
Reference in New Issue
Block a user