From 22c98b76ae44205058790d476305670f9620ecdb Mon Sep 17 00:00:00 2001 From: smolgrrr Date: Sun, 25 Aug 2024 20:45:19 +1000 Subject: [PATCH] fix quote embed --- client/src/components/modals/CardModals/QuoteEmbed.tsx | 1 - client/src/components/modals/CardModals/TextModal.tsx | 2 +- client/src/components/routes/Home.tsx | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/components/modals/CardModals/QuoteEmbed.tsx b/client/src/components/modals/CardModals/QuoteEmbed.tsx index bf50c53..149ce8d 100644 --- a/client/src/components/modals/CardModals/QuoteEmbed.tsx +++ b/client/src/components/modals/CardModals/QuoteEmbed.tsx @@ -50,7 +50,6 @@ const QuoteEmbed = ({
{timeAgo(event.created_at)}
- ยท diff --git a/client/src/components/modals/CardModals/TextModal.tsx b/client/src/components/modals/CardModals/TextModal.tsx index 750875d..081d649 100644 --- a/client/src/components/modals/CardModals/TextModal.tsx +++ b/client/src/components/modals/CardModals/TextModal.tsx @@ -16,7 +16,7 @@ const RichText = ({ text, isExpanded, emojiMap }: { text: string; isExpanded: bo
{line.split(' ').map((word, j) => emojiMap[word] - ? {word} + ? {word} : `${word} ` )}
diff --git a/client/src/components/routes/Home.tsx b/client/src/components/routes/Home.tsx index 862963e..d5b2888 100644 --- a/client/src/components/routes/Home.tsx +++ b/client/src/components/routes/Home.tsx @@ -25,7 +25,7 @@ const Home = () => { .filter((event) => verifyPow(event) >= Number(filterDifficulty) && event.kind !== 0 && - (event.kind !== 1 || !event.tags.some((tag) => tag[0] === "e" || tag[0] === "p")) + (event.kind !== 1 || !event.tags.some((tag) => tag[0] === "e")) ) const postEventsWithReplies = postEvents.map((event) => {