diff --git a/app/page.tsx b/app/page.tsx
index cfeec8b..b54b15c 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,9 +1,7 @@
-import { Suspense, use } from "react";
+import { Suspense } from "react";
import { CreatePostForm } from "~/client/CreatePostForm";
-import { HydrateClient } from "~/client/HydrateClient";
import { PostList } from "~/components/PostList";
import { PostListItem } from "~/components/PostListItem";
-import { rsc } from "../server-rsc/trpc";
function PostListSkeleton() {
return (
@@ -15,22 +13,6 @@ function PostListSkeleton() {
);
}
-function PostListRSC() {
- use(
- Promise.all([
- rsc.post.list.fetchInfinite({}),
- // Display loading for at least 300ms
- new Promise((resolve) => setTimeout(resolve, 3_00)),
- ]),
- );
-
- return (
-