From 3b1f9d7372e8e77d0a5c23597ca3265f7b792019 Mon Sep 17 00:00:00 2001 From: Benjamin Gammaire Date: Tue, 9 Jun 2020 11:37:47 +0100 Subject: [PATCH] fix: remove url validation on discord type --- src/pages/Settings/content/formSections/Fields/Link.field.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pages/Settings/content/formSections/Fields/Link.field.tsx b/src/pages/Settings/content/formSections/Fields/Link.field.tsx index 795c389d3b..73dad471fc 100644 --- a/src/pages/Settings/content/formSections/Fields/Link.field.tsx +++ b/src/pages/Settings/content/formSections/Fields/Link.field.tsx @@ -48,8 +48,6 @@ export class ProfileLinkField extends Component { // e.g. only a username is given for a bazar link public formatLink(link: string) { switch (this.state.linkType) { - case 'discord': - return ensureExternalUrl(link) case 'forum': return ensureExternalUrl(link) case 'website':