Initial change for Social Media validation (#3819)
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user