Correct default cart tax currency

This commit is contained in:
Matthew Petrie 2023-12-15 14:58:11 +00:00 committed by GitHub
parent 3a18f9a098
commit 92a296693c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ const reshapeCart = (cart: ShopifyCart): Cart => {
if (!cart.cost?.totalTaxAmount) { if (!cart.cost?.totalTaxAmount) {
cart.cost.totalTaxAmount = { cart.cost.totalTaxAmount = {
amount: '0.0', amount: '0.0',
currencyCode: 'USD' currencyCode: cart.cost.totalAmount.currencyCode
}; };
} }