SW-65 Moved type to /types
This commit is contained in:
@@ -5,10 +5,12 @@ import { FormProvider, useForm } from "react-hook-form"
|
||||
import { dt } from "@/lib/dt"
|
||||
|
||||
import Button from "../TempDesignSystem/Button"
|
||||
import { type BookingWidgetSchema, bookingWidgetSchema } from "./schema"
|
||||
import { bookingWidgetSchema } from "./schema"
|
||||
|
||||
import styles from "./bookingWidget.module.css"
|
||||
|
||||
import { type BookingWidgetSchema } from "@/types/components/bookingWidget"
|
||||
|
||||
export function BookingWidget() {
|
||||
const methods = useForm<BookingWidgetSchema>({
|
||||
defaultValues: {
|
||||
@@ -27,8 +29,8 @@ export function BookingWidget() {
|
||||
voucher: false,
|
||||
rooms: [
|
||||
{
|
||||
Adults: 1,
|
||||
Child: 0,
|
||||
adults: 1,
|
||||
childs: [],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user