From 74d84cb2f22600b6246343e9ea606cf0db7517f0 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Wed, 19 Nov 2025 05:47:30 +0700
Subject: Big GUI improvements on Nostr rendering and fetching

---
 gui/src/components/post/wrappers/Nostr.tsx | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

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

diff --git a/gui/src/components/post/wrappers/Nostr.tsx b/gui/src/components/post/wrappers/Nostr.tsx
index 2782fb8..7e96354 100644
--- a/gui/src/components/post/wrappers/Nostr.tsx
+++ b/gui/src/components/post/wrappers/Nostr.tsx
@@ -1,4 +1,4 @@
-import type { NostrMetadata, NostrPost } from "@/types/nostrill";
+import type { NostrPost } from "@/types/nostrill";
 import Post from "../Post";
 import useLocalState from "@/state/state";
 
@@ -7,9 +7,15 @@ function NostrPost({ data }: { data: NostrPost }) {
   const { profiles } = useLocalState((s) => ({ profiles: s.profiles }));
   const profile = profiles.get(data.event.pubkey);
 
-  return <Post poast={data.post} profile={profile} />;
+  return (
+    <Post
+      user={{ urbit: data.post.author }}
+      poast={data.post}
+      profile={profile}
+    />
+  );
 }
 
-export function NostrSnippet({ eventId, pubkey, relay }: NostrMetadata) {
-  return <div>wtf</div>;
+export function NostrSnippet({ eventId, pubkey, relay, post }: NostrPost) {
+  return <Post user={{ nostr: pubkey }} poast={post} />;
 }
-- 
cgit v1.2.3

