We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1ccb24 commit a41fdf3Copy full SHA for a41fdf3
apps/studio/src/features/users/components/UserPermissionModal/AddUserModal.tsx
@@ -73,7 +73,7 @@ export const AddUserModal = () => {
73
// Reason we are not using zodForm build-in schema is because the checking of whitelist
74
// is an async operation requiring an API call, and combining them will be less readable
75
const additionalEmailError = useMemo(
76
- () => isNonGovEmailInput || hasWhitelistError,
+ () => isNonGovEmailInput && hasWhitelistError,
77
[isNonGovEmailInput, hasWhitelistError],
78
)
79
0 commit comments