fix: email validation failure in cases when email entered is correct when trying to create a team in admin dashboard (#3588)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
This commit is contained in:
committed by
GitHub
parent
8f1ca6e282
commit
144d14ab5b
@@ -183,7 +183,7 @@ const createTeam = async (newTeamName: string, ownerEmail: string) => {
|
||||
toast.error(`${t('state.team_name_long')}`);
|
||||
return;
|
||||
}
|
||||
if (ownerEmail.length == 0) {
|
||||
if (ownerEmail.length === 0) {
|
||||
toast.error(`${t('state.enter_team_email')}`);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user