diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/index.tsx b/apps/scandic-web/components/Forms/BookingWidget/FormContent/index.tsx index c5e4b67d9..6fa09df86 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/index.tsx +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/index.tsx @@ -32,7 +32,7 @@ export default function FormContent({ formState: { errors }, } = useFormContext() - const selectedDate = useWatch({ name: "date" }) + const selectedDate = useWatch({ name: "date" }) const nights = dt(selectedDate.toDate).diff(dt(selectedDate.fromDate), "days")