Explorer: remove link from discord security contact (#24097)
This commit is contained in:
parent
2fff8bbcc8
commit
4c058b48b6
|
@ -216,16 +216,7 @@ function isValidLink(value: string) {
|
||||||
function Contact({ type, information }: { type: string; information: string }) {
|
function Contact({ type, information }: { type: string; information: string }) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case "discord":
|
case "discord":
|
||||||
return (
|
return <>Discord: {information}</>;
|
||||||
<a
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
target="_blank"
|
|
||||||
href={`https://discordapp.com/users/${information}`}
|
|
||||||
>
|
|
||||||
Discord: {information}
|
|
||||||
<span className="fe fe-external-link ms-2"></span>
|
|
||||||
</a>
|
|
||||||
);
|
|
||||||
case "email":
|
case "email":
|
||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
|
|
Loading…
Reference in New Issue