From b1d68ac307ed87d63e83820cbdf843fff0fd9f7f Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Thu, 11 Sep 2025 01:48:14 +0700
Subject: init

---
 front/src/pages/User.tsx | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 front/src/pages/User.tsx

(limited to 'front/src/pages/User.tsx')

diff --git a/front/src/pages/User.tsx b/front/src/pages/User.tsx
new file mode 100644
index 0000000..fc727e4
--- /dev/null
+++ b/front/src/pages/User.tsx
@@ -0,0 +1,18 @@
+// import spinner from "@/assets/icons/spinner.svg";
+import PostList from "@/components/feed/PostList";
+import useLocalState from "@/state/state";
+import type { Ship } from "@/types/urbit";
+
+function UserFeed({ p }: { p: Ship }) {
+  const { api, following } = useLocalState();
+  const feed = following.get(api!.airlock.our!);
+  const refetch = () => feed;
+  if (p === api!.airlock.our)
+    return (
+      <div id="feed-proper">
+        <PostList data={feed!} refetch={refetch} />
+      </div>
+    );
+}
+
+export default UserFeed;
-- 
cgit v1.2.3

