fix: Don't embed discovery links

This commit is contained in:
Ryan 2022-01-05 10:28:30 +10:00
parent 2edf122b34
commit c28c6134c1

View file

@ -213,9 +213,12 @@ export default observer(({ message }: { message: Message }) => {
return ( return (
<> <>
{entries.map((entry) => ( {entries.map(
<EmbedInvite key={entry} code={entry} /> (entry) =>
))} entry !== "discover" && (
<EmbedInvite key={entry} code={entry} />
),
)}
</> </>
); );
} }