Skip to content

Commit

Permalink
fixed feedbacks after CR #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislau-MultiSafepay committed Mar 31, 2021
1 parent 289b7d7 commit acb5bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/talons/useBasePayment.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const useBasePayment = props => {
updatePaymentMethod({
variables: {cartId, selectedMethod}
});
}, [updatePaymentMethod, cartId]);
}, [updatePaymentMethod, cartId, selectedMethod]);

useEffect(() => {
const paymentMethodMutationCompleted =
Expand Down

0 comments on commit acb5bd9

Please sign in to comment.