fix(SW-350): Close booking widget on search (mobile)

This commit is contained in:
Pontus Dreij
2024-11-15 11:02:17 +01:00
parent 49fbd87bd8
commit f786f6fa07
3 changed files with 9 additions and 9 deletions

View File

@@ -1,14 +1,10 @@
import { FormState, UseFormReturn } from "react-hook-form"
import type {
BookingWidgetSchema,
BookingWidgetType,
} from "@/types/components/bookingWidget"
import type { BookingWidgetType } from "@/types/components/bookingWidget"
import type { Location, Locations } from "@/types/trpc/routers/hotel/locations"
export interface BookingWidgetFormProps {
locations: Locations
type?: BookingWidgetType
setIsOpen: (isOpen: boolean) => void
}
export interface BookingWidgetFormContentProps {