Skip to content

Commit

Permalink
Removed handleTriggerClick function call as it is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
del22123 committed Nov 12, 2024
1 parent 78280c8 commit 60aec35
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/peregrine/lib/talons/SignIn/useSignIn.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { useEventingContext } from '../../context/eventing';

export const useSignIn = props => {
const {
handleTriggerClick,
getCartDetailsQuery,
setDefaultUsername,
showCreateAccount,
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -167,8 +165,7 @@ export const useSignIn = props => {
fetchUserDetails,
getCartDetails,
fetchCartDetails,
dispatch,
handleTriggerClick
dispatch
]
);

Expand Down

0 comments on commit 60aec35

Please sign in to comment.