From 2ebf854dd5128814a251eadbb76c7cb8bf37c3b5 Mon Sep 17 00:00:00 2001 From: smolgrrr Date: Thu, 9 Nov 2023 23:48:25 +1100 Subject: [PATCH] remove name from card --- client/src/components/Modals/Card.tsx | 10 ++++------ client/src/utils/subscriptions.ts | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/client/src/components/Modals/Card.tsx b/client/src/components/Modals/Card.tsx index 6bbc988..ee82e25 100644 --- a/client/src/components/Modals/Card.tsx +++ b/client/src/components/Modals/Card.tsx @@ -65,17 +65,15 @@ const PostCard = ({
{metadataParsed ? : -
+
} -
- {metadataParsed?.name ?? 'Anonymous'} -
@@ -96,7 +94,7 @@ const PostCard = ({ Reply to: {uniqBy(repliedTo, 'pubkey').map((event, index) => (
- {event.kind == 0 ? ( + {event.kind === 0 ? ( ) : (
diff --git a/client/src/utils/subscriptions.ts b/client/src/utils/subscriptions.ts index 321bb4a..4eafe71 100644 --- a/client/src/utils/subscriptions.ts +++ b/client/src/utils/subscriptions.ts @@ -24,7 +24,7 @@ export const subGlobalFeed = (onEvent: SubCallback) => { ...(prefix && {ids: ['0'.repeat(prefix)]}), kinds: [1], since: Math.floor((Date.now() * 0.001) - (24 * 60 * 60)), - limit: 350, + limit: 500, }, unsub: true });