From 985fa2f7c99832cdf3c3351d2273c8fd05402b78 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Wed, 17 Sep 2025 21:45:18 +0700
Subject: basic comms working

---
 front/src/components/post/wrappers/Nostr.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'front/src/components/post/wrappers/Nostr.tsx')

diff --git a/front/src/components/post/wrappers/Nostr.tsx b/front/src/components/post/wrappers/Nostr.tsx
index bdc5ba9..2782fb8 100644
--- a/front/src/components/post/wrappers/Nostr.tsx
+++ b/front/src/components/post/wrappers/Nostr.tsx
@@ -4,7 +4,7 @@ import useLocalState from "@/state/state";
 
 export default NostrPost;
 function NostrPost({ data }: { data: NostrPost }) {
-  const { profiles } = useLocalState();
+  const { profiles } = useLocalState((s) => ({ profiles: s.profiles }));
   const profile = profiles.get(data.event.pubkey);
 
   return <Post poast={data.post} profile={profile} />;
-- 
cgit v1.2.3

