From 74d84cb2f22600b6246343e9ea606cf0db7517f0 Mon Sep 17 00:00:00 2001 From: polwex 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') 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 ; + return ( + + ); } -export function NostrSnippet({ eventId, pubkey, relay }: NostrMetadata) { - return
wtf
; +export function NostrSnippet({ eventId, pubkey, relay, post }: NostrPost) { + return ; } -- cgit v1.2.3