Skip to content

Commit

Permalink
Fix TypeError: Cannot convert a Symbol value to a string
Browse files Browse the repository at this point in the history
  • Loading branch information
poulch committed Jan 3, 2025
1 parent 85c1534 commit daf750a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/products/components/ProductUpdatePage/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function updateVaraintWithPriceFormat(
const channelId = dataChange.column.split(":")[1];
const currencyCode = getChannelCurrencyCodeById(channelId, product.channelListings);

dataChange.data.value = parseCurrency(`${dataChange.data.value}`, locale, currencyCode);
dataChange.data.value = parseCurrency(`${String(dataChange.data.value)}`, locale, currencyCode);

return dataChange;
}
Expand Down

0 comments on commit daf750a

Please sign in to comment.