diff --git a/packages/peregrine/lib/talons/SignIn/useSignIn.js b/packages/peregrine/lib/talons/SignIn/useSignIn.js index 34fb99f043..605d3e7ef2 100644 --- a/packages/peregrine/lib/talons/SignIn/useSignIn.js +++ b/packages/peregrine/lib/talons/SignIn/useSignIn.js @@ -13,7 +13,6 @@ import { useEventingContext } from '../../context/eventing'; export const useSignIn = props => { const { - handleTriggerClick, getCartDetailsQuery, setDefaultUsername, showCreateAccount, @@ -86,7 +85,6 @@ export const useSignIn = props => { const handleSubmit = useCallback( async ({ email, password }) => { setIsSigningIn(true); - handleTriggerClick(); try { // Get source cart id (guest cart id). @@ -167,8 +165,7 @@ export const useSignIn = props => { fetchUserDetails, getCartDetails, fetchCartDetails, - dispatch, - handleTriggerClick + dispatch ] );