From 60aec353c8f334b32256161b77ac339d346a9cdc Mon Sep 17 00:00:00 2001 From: Bharathidasan Elangovan Date: Tue, 12 Nov 2024 14:33:37 +0530 Subject: [PATCH] Removed handleTriggerClick function call as it is not used --- packages/peregrine/lib/talons/SignIn/useSignIn.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 ] );