Skip to content

Commit

Permalink
add missing var in dependancy tab
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrine-ds committed Jun 12, 2024
1 parent b8b882a commit a8c9db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/payment/src/components/CardPayment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const CardPayment = ({ paymentLink, paymentMethodId, publicKey }: Props)
.otherwise(() => setPaymentMethod(Option.None()));
}
});
}, []);
}, [publicKey]);

const onPressSubmit = () => {
if (cardNumberState === "untouched") {
Expand Down

0 comments on commit a8c9db2

Please sign in to comment.