sub-task/ SW-695 Prefill Guests data in booking widget
This commit is contained in:
@@ -3,13 +3,11 @@ import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
import BookingWidget, { preload } from "@/components/BookingWidget"
|
||||
|
||||
import { BookingWidgetSearchParams } from "@/types/components/bookingWidget"
|
||||
import { LangParams, PageArgs } from "@/types/params"
|
||||
import { BookingWidgetPageProps } from "@/types/components/bookingWidget"
|
||||
|
||||
export default async function BookingWidgetPage({
|
||||
params,
|
||||
searchParams,
|
||||
}: PageArgs<LangParams, BookingWidgetSearchParams>) {
|
||||
}: BookingWidgetPageProps) {
|
||||
if (env.HIDE_FOR_NEXT_RELEASE) {
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user