Skip to content

Commit

Permalink
fix: handled submitting wihtout entering emailid
Browse files Browse the repository at this point in the history
  • Loading branch information
dotslashbit committed Dec 23, 2023
1 parent 5ef5bbd commit 9588cc5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 9588cc5

Please sign in to comment.