feat: populate session storage on submit

This commit is contained in:
Christel Westerberg
2024-10-17 16:07:09 +02:00
parent 5bddaff04d
commit e4617d84ba
5 changed files with 35 additions and 100 deletions

View File

@@ -394,8 +394,8 @@ export const getHotelDataSchema = z.object({
hotelFacts: z.object({
checkin: checkinSchema,
ecoLabels: ecoLabelsSchema,
hotelFacilityDetail: hotelFacilitySchema,
hotelInformation: hotelInformationSchema,
hotelFacilityDetail: hotelFacilitySchema.optional(),
hotelInformation: hotelInformationSchema.optional(),
interior: interiorSchema,
receptionHours: receptionHoursSchema,
yearBuilt: z.string(),