Merge pull request #487 from ryanalexander/dont-embed-discovery

fix: Don't embed discovery links
This commit is contained in:
Ryan Alexander 2022-01-05 17:38:03 +10:00 committed by GitHub
commit 6c6f6396e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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