diff --git a/apps/builder/src/features/billing/components/PreCheckoutDialog.tsx b/apps/builder/src/features/billing/components/PreCheckoutDialog.tsx index 5a5bcaf84..24aff1952 100644 --- a/apps/builder/src/features/billing/components/PreCheckoutDialog.tsx +++ b/apps/builder/src/features/billing/components/PreCheckoutDialog.tsx @@ -27,10 +27,10 @@ export type PreCheckoutDialogProps = { const vatCodeLabels = taxIdTypes.map((taxIdType) => ({ label: ( - {taxIdType.emoji} {taxIdType.name} ({taxIdType.code}) + {taxIdType.name} ({taxIdType.code}) {taxIdType.emoji} ), - value: taxIdType.type, + value: taxIdType.code, })); export const PreCheckoutDialog = ({ @@ -78,7 +78,7 @@ export const PreCheckoutDialog = ({ }, })); const vatPlaceholder = taxIdTypes.find( - (taxIdType) => taxIdType.type === vatCode, + (taxIdType) => taxIdType.code === vatCode, )?.placeholder; if (vatPlaceholder) setVatValuePlaceholder(vatPlaceholder ?? ""); vatValueInputRef.current?.focus();