diff options
| author | polwex <polwex@sortug.com> | 2025-11-19 05:47:30 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-11-19 05:47:30 +0700 |
| commit | 74d84cb2f22600b6246343e9ea606cf0db7517f0 (patch) | |
| tree | 0d68285c8e74e6543645e17ab2751d543c1ff9a6 /gui/src/components/post/PostWrapper.tsx | |
| parent | e6e657be3a3b1dae426b46f3bc16f9a5cf4861c2 (diff) | |
Big GUI improvements on Nostr rendering and fetchingpolwex/iris
Diffstat (limited to 'gui/src/components/post/PostWrapper.tsx')
| -rw-r--r-- | gui/src/components/post/PostWrapper.tsx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gui/src/components/post/PostWrapper.tsx b/gui/src/components/post/PostWrapper.tsx deleted file mode 100644 index c4e754f..0000000 --- a/gui/src/components/post/PostWrapper.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import useLocalState from "@/state/state"; -import type { NostrPost, PostWrapper } from "@/types/nostrill"; - -export default Post; -function Post(pw: PostWrapper) { - if ("nostr" in pw) return <NostrPost post={pw.nostr} />; - else return <TrillPost post={pw.urbit.post} nostr={pw.urbit.nostr} />; -} - -function NostrPost({ post, event, relay }: NostrPost) { - const { profiles } = useLocalState(); - const profile = profiles.get(event.pubkey); - return <></>; -} |
