fix: handled submitting wihtout entering emailid (#3149)
This commit is contained in:
@ -102,6 +102,9 @@ export const useSignInUp = () => {
|
|||||||
}, [setSignInUpStep, setSignInUpMode, isMatchingLocation]);
|
}, [setSignInUpStep, setSignInUpMode, isMatchingLocation]);
|
||||||
|
|
||||||
const continueWithCredentials = useCallback(() => {
|
const continueWithCredentials = useCallback(() => {
|
||||||
|
if (!form.getValues('email')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
checkUserExistsQuery({
|
checkUserExistsQuery({
|
||||||
variables: {
|
variables: {
|
||||||
email: form.getValues('email').toLowerCase(),
|
email: form.getValues('email').toLowerCase(),
|
||||||
|
|||||||
Reference in New Issue
Block a user