summaryrefslogtreecommitdiff
path: root/front/src/components/post/wrappers/Nostr.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'front/src/components/post/wrappers/Nostr.tsx')
-rw-r--r--front/src/components/post/wrappers/Nostr.tsx2
1 files changed, 1 insertions, 1 deletions
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} />;