Explorer: remove link from discord security contact (#24097)

This commit is contained in:
Nico Gründel 2022-04-04 12:12:53 +02:00 committed by GitHub
parent 2fff8bbcc8
commit 4c058b48b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 10 deletions

View File

@ -216,16 +216,7 @@ function isValidLink(value: string) {
function Contact({ type, information }: { type: string; information: string }) {
switch (type) {
case "discord":
return (
<a
rel="noopener noreferrer"
target="_blank"
href={`https://discordapp.com/users/${information}`}
>
Discord: {information}
<span className="fe fe-external-link ms-2"></span>
</a>
);
return <>Discord: {information}</>;
case "email":
return (
<a