Skip to content

Commit b2077fa

Browse files
authored
fix(dashboard): Fix incorrect currency being displayed in product variant listing (#3906)
1 parent eb5084c commit b2077fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/dashboard/src/app/routes/_authenticated/_products/components/product-variants-table.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,17 @@ export function ProductVariantsTable({
8282
cell: ({ row: { original } }) => formatCurrencyName(original.currencyCode, 'full'),
8383
},
8484
price: {
85+
meta: {
86+
dependencies: ['currencyCode']
87+
},
8588
cell: ({ row: { original } }) => (
8689
<Money value={original.price} currency={original.currencyCode} />
8790
),
8891
},
8992
priceWithTax: {
93+
meta: {
94+
dependencies: ['currencyCode']
95+
},
9096
cell: ({ row: { original } }) => (
9197
<Money value={original.priceWithTax} currency={original.currencyCode} />
9298
),

0 commit comments

Comments
 (0)