Skip to content

Commit

Permalink
fix: account currency hook return value (#7872)
Browse files Browse the repository at this point in the history
  • Loading branch information
frosso authored Dec 12, 2023
1 parent 0640c56 commit 88711f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog/fix-account-currency-hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

fix: account currency hook return value
2 changes: 1 addition & 1 deletion client/payment-methods/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const PaymentMethods = () => {

const [ , updateSelectedPaymentMethod ] = useSelectedPaymentMethod();

const [ stripeAccountDomesticCurrency ] = useAccountDomesticCurrency();
const stripeAccountDomesticCurrency = useAccountDomesticCurrency();

const completeActivation = ( itemId ) => {
updateSelectedPaymentMethod( itemId );
Expand Down

0 comments on commit 88711f2

Please sign in to comment.