From 284ce9ce7d9f81e54e91f917329d48926487fbf4 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Wed, 12 Nov 2025 07:11:07 +0700
Subject: fixes to engagement handling

---
 gui/src/pages/Feed.tsx | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

(limited to 'gui/src/pages/Feed.tsx')

diff --git a/gui/src/pages/Feed.tsx b/gui/src/pages/Feed.tsx
index 66acc66..ac596dd 100644
--- a/gui/src/pages/Feed.tsx
+++ b/gui/src/pages/Feed.tsx
@@ -57,7 +57,7 @@ function FeedPage({ t }: { t: FeedType }) {
         {active === "global" ? (
           <Global />
         ) : active === "following" ? (
-          <Global />
+          <Following />
         ) : active === "nostr" ? (
           <Nostr />
         ) : null}
@@ -87,6 +87,21 @@ function Global() {
   // else return <Inner data={data} refetch={refetch} />;
   return <p>Error</p>;
 }
+function Following() {
+  const following = useLocalState((s) => s.following2);
+  console.log({ following });
+
+  // console.log(data, "scry feed data");
+  // if (isPending) return <img className="x-center" src={spinner} />;
+  // else if ("bucun" in data) return <p>Error</p>;
+  // else return <Inner data={data} refetch={refetch} />;
+
+  return (
+    <div>
+      <PostList data={following} refetch={() => {}} />
+    </div>
+  );
+}
 function Nostr() {
   const { nostrFeed, api } = useLocalState((s) => ({
     nostrFeed: s.nostrFeed,
-- 
cgit v1.2.3

