SW-65 Hide booking widget for development

This commit is contained in:
Hrishikesh Vaipurkar
2024-07-29 15:13:29 +02:00
parent 2afab6a33d
commit 6a26949faa
3 changed files with 2 additions and 3 deletions

View File

@@ -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)

View File

@@ -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"

View File

@@ -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