summaryrefslogtreecommitdiff
path: root/gui/src/components/post/PostWrapper.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/components/post/PostWrapper.tsx')
-rw-r--r--gui/src/components/post/PostWrapper.tsx14
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 <></>;
-}