Initial change for Social Media validation (#3819)

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
Manish Giri 2024-07-19 14:41:22 -05:00 committed by GitHub
parent 56d4ac0c62
commit 4579d9074e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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');
}