mirror of
https://github.com/twentyhq/twenty.git
synced 2024-10-04 21:07:21 +03:00
fix: handled submitting wihtout entering emailid (#3149)
This commit is contained in:
parent
ca056dfb27
commit
52e2a33e62
@ -102,6 +102,9 @@ export const useSignInUp = () => {
|
||||
}, [setSignInUpStep, setSignInUpMode, isMatchingLocation]);
|
||||
|
||||
const continueWithCredentials = useCallback(() => {
|
||||
if (!form.getValues('email')) {
|
||||
return;
|
||||
}
|
||||
checkUserExistsQuery({
|
||||
variables: {
|
||||
email: form.getValues('email').toLowerCase(),
|
||||
|
Loading…
Reference in New Issue
Block a user