diff --git a/web/components/admin/config/general/EditSocialLinks.tsx b/web/components/admin/config/general/EditSocialLinks.tsx index b1c392ef8..d7ee0a49e 100644 --- a/web/components/admin/config/general/EditSocialLinks.tsx +++ b/web/components/admin/config/general/EditSocialLinks.tsx @@ -290,6 +290,9 @@ export default function EditSocialLinks() { ]; const isValid = (url: string, platform: string) => { + if (platform === '') { + return false; + } if (platform === 'xmpp') { return isValidAccount(url, 'xmpp'); }