Skip to content

Commit

Permalink
refactor: hooks and selector dependencies (#7571)
Browse files Browse the repository at this point in the history
  • Loading branch information
frosso authored Oct 30, 2023
1 parent 4343355 commit e0c22fb
Show file tree
Hide file tree
Showing 10 changed files with 239 additions and 391 deletions.
5 changes: 5 additions & 0 deletions changelog/fix-settings-selectors-refactor
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Refactor hooks and selector dependencies


Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type PaymentMethodProps = {
const PaymentMethodDescription: React.FC< PaymentMethodProps > = ( {
name,
} ) => {
const [ stripeAccountDomesticCurrency ] = useAccountDomesticCurrency();
const stripeAccountDomesticCurrency = useAccountDomesticCurrency();
const description = getPaymentMethodDescription(
name,
stripeAccountDomesticCurrency as string
Expand Down
Loading

0 comments on commit e0c22fb

Please sign in to comment.