SW-65 Hide booking widget for development
This commit is contained in:
@@ -10,7 +10,7 @@ export async function updateBookingWidget(_prevState: State, values: FormData) {
|
||||
const data: Record<string, any> = Object.fromEntries(values.entries())
|
||||
|
||||
/**
|
||||
* ToDo: Update the data parsing
|
||||
* ToDo: Update the data parsing and redirect User to respective booking flow page
|
||||
*/
|
||||
console.info(`Raw Data BW`)
|
||||
console.log(data)
|
||||
|
||||
@@ -5,7 +5,6 @@ import { FormProvider, useForm } from "react-hook-form"
|
||||
|
||||
import { updateBookingWidget } from "@/actions/updateBookingWidget"
|
||||
|
||||
import { SearchWidget } from "../SearchWidget"
|
||||
import Button from "../TempDesignSystem/Button"
|
||||
import { type BookingWidgetSchema, bookingWidgetSchema } from "./schema"
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ export default async function Header({
|
||||
/**
|
||||
* ToDo: Create logic to get this info from ContentStack based on page
|
||||
* */
|
||||
const hideBookingWidget = false
|
||||
const hideBookingWidget = true
|
||||
|
||||
if (!data) {
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user