From 395cf3bc475fbdf8f448b7c672969c393183c437 Mon Sep 17 00:00:00 2001 From: "rudraswamy.c" Date: Tue, 13 Feb 2024 11:16:35 +0530 Subject: [PATCH] PWA-3233 : Unable to sign-In using TAB/ Mouse Click button from Sign in Page --- packages/peregrine/lib/talons/SignIn/useSignIn.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/peregrine/lib/talons/SignIn/useSignIn.js b/packages/peregrine/lib/talons/SignIn/useSignIn.js index d4db2026e3..de3ce349ab 100644 --- a/packages/peregrine/lib/talons/SignIn/useSignIn.js +++ b/packages/peregrine/lib/talons/SignIn/useSignIn.js @@ -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;