fix: avoid localizing currencies and default missing value to N/A
This commit is contained in:
@@ -13,7 +13,6 @@ import {
|
||||
extractGuestFromUser,
|
||||
getInitialRoomPrice,
|
||||
getInitialTotalPrice,
|
||||
langToCurrency,
|
||||
navigate,
|
||||
writeToSessionStorage,
|
||||
} from "./helpers"
|
||||
@@ -233,7 +232,7 @@ export function createDetailsStore(
|
||||
}
|
||||
|
||||
if (subtractFromTotalPrice) {
|
||||
let currency = state.totalPrice.local.currency ?? langToCurrency()
|
||||
let currency = state.totalPrice.local.currency
|
||||
let currentBreakfastTotalPrice = 0
|
||||
let currentBreakfastTotalRequestedPrice = 0
|
||||
if (state.breakfast) {
|
||||
|
||||
Reference in New Issue
Block a user