mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 07:22:10 -05:00
fix: Don't embed discovery links
This commit is contained in:
parent
2edf122b34
commit
c28c6134c1
1 changed files with 6 additions and 3 deletions
|
@ -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} />
|
||||||
|
),
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue