mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 23:22:06 -05:00
Merge pull request #487 from ryanalexander/dont-embed-discovery
fix: Don't embed discovery links
This commit is contained in:
commit
6c6f6396e4
1 changed files with 6 additions and 3 deletions
|
@ -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} />
|
||||
),
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue