diff --git a/src/components/UpdateProfile/ProfileUsername.tsx b/src/components/UpdateProfile/ProfileUsername.tsx index 7d2f7532b..27c908b08 100644 --- a/src/components/UpdateProfile/ProfileUsername.tsx +++ b/src/components/UpdateProfile/ProfileUsername.tsx @@ -57,6 +57,8 @@ export function ProfileUsername(props: ProfileUsernameProps) { setIsLoading(false); }; + const USERNAME_REGEX = /^[a-zA-Z0-9]*$/; + return (