SW-65 Removed action used onSubmit and dt lib
This commit is contained in:
@@ -6,12 +6,11 @@ export const bookingWidgetSchema = z.object({
|
||||
stayValue: z.string(),
|
||||
}),
|
||||
nights: z.object({
|
||||
fromDate: z.date().default(new Date()),
|
||||
toDate: z.date().default(new Date(new Date().setDate(+1))),
|
||||
}),
|
||||
bookingCode: z.object({
|
||||
value: z.string(),
|
||||
// Update this as required once started working with Date picker in Nights component
|
||||
fromDate: z.string(),
|
||||
toDate: z.string(),
|
||||
}),
|
||||
bookingCode: z.string(), // Update this as required when working with booking codes component
|
||||
redemption: z.boolean().default(false),
|
||||
voucher: z.boolean().default(false),
|
||||
rooms: z.array(
|
||||
|
||||
Reference in New Issue
Block a user