Correct default cart tax currency (#1260)

This commit is contained in:
Matthew Petrie 2024-10-16 04:28:35 +01:00 committed by GitHub
parent 815bea2c1a
commit cb99695b72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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