Skip to content

Commit e523374

Browse files
committed
rename
1 parent a624860 commit e523374

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/studio/components/interfaces/Organization/BillingSettings/BillingCustomerData

apps/studio/components/interfaces/Organization/BillingSettings/BillingCustomerData/TaxID.utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export const getEffectiveTaxCountry = (taxId: TaxId): string =>
2222
*/
2323
export const resolveStoredTaxId = (
2424
type: string,
25-
country: string,
25+
taxCountry: string,
2626
billingCountry?: string
2727
): TaxId | undefined => {
2828
const candidates = TAX_IDS.filter((option) => option.type === type)
29-
const preferredCountry = billingCountry ?? country
29+
const preferredCountry = billingCountry ?? taxCountry
3030

3131
return candidates.find((o) => o.countryIso2 === preferredCountry)
3232
}

0 commit comments

Comments
 (0)