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;