From c28c6134c1f387588bb87df7f3841a7ffa2cd0c0 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 5 Jan 2022 10:28:30 +1000 Subject: [PATCH] fix: Don't embed discovery links --- src/components/common/messaging/embed/EmbedInvite.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/common/messaging/embed/EmbedInvite.tsx b/src/components/common/messaging/embed/EmbedInvite.tsx index 1873f14f..827ef9f9 100644 --- a/src/components/common/messaging/embed/EmbedInvite.tsx +++ b/src/components/common/messaging/embed/EmbedInvite.tsx @@ -213,9 +213,12 @@ export default observer(({ message }: { message: Message }) => { return ( <> - {entries.map((entry) => ( - - ))} + {entries.map( + (entry) => + entry !== "discover" && ( + + ), + )} ); }