feat: add Price details modal
This commit is contained in:
@@ -32,11 +32,12 @@ export default function EnterDetailsProvider({
|
||||
searchParamsStr,
|
||||
step,
|
||||
user,
|
||||
vat,
|
||||
}: DetailsProviderProps) {
|
||||
const storeRef = useRef<DetailsStore>()
|
||||
|
||||
if (!storeRef.current) {
|
||||
const initialData: InitialState = { booking, packages, roomRate }
|
||||
const initialData: InitialState = { booking, packages, roomRate, vat }
|
||||
if (bedTypes.length === 1) {
|
||||
initialData.bedType = {
|
||||
description: bedTypes[0].description,
|
||||
|
||||
Reference in New Issue
Block a user