Skip to content

Commit

Permalink
PWA-3233 : Unable to sign-In using TAB/ Mouse Click button from Sign …
Browse files Browse the repository at this point in the history
…in Page
  • Loading branch information
rudraswamy.c authored and rudraswamy.c committed Feb 13, 2024
1 parent 52229b2 commit 395cf3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/peregrine/lib/talons/SignIn/useSignIn.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ export const useSignIn = props => {
const handleSubmit = useCallback(
async ({ email, password }) => {
setIsSigningIn(true);
handleTriggerClick();
if(handleTriggerClick!==undefined){
handleTriggerClick();
}

try {
// Get source cart id (guest cart id).
const sourceCartId = cartId;
Expand Down

0 comments on commit 395cf3b

Please sign in to comment.