fix: imports and types
This commit is contained in:
parent
49edc679f3
commit
c032c1479b
|
@ -1,4 +1,3 @@
|
|||
import type { useOverlayCalendarReturnType } from "bookings/Booker/components/hooks/useOverlayCalendar";
|
||||
import Link from "next/link";
|
||||
import { useRouter } from "next/navigation";
|
||||
import { Fragment } from "react";
|
||||
|
@ -21,6 +20,7 @@ import {
|
|||
import { Calendar } from "@calcom/ui/components/icon";
|
||||
|
||||
import { useLocalSet } from "../hooks/useLocalSet";
|
||||
import type { useOverlayCalendarReturnType } from "../hooks/useOverlayCalendar";
|
||||
|
||||
interface IOverlayCalendarContinueModalProps {
|
||||
open?: boolean;
|
||||
|
@ -48,7 +48,7 @@ export function OverlayCalendarSettingsModal({
|
|||
isLoading,
|
||||
open,
|
||||
onClose,
|
||||
onToggledConnectedCalendar,
|
||||
onToggleConnectedCalendar,
|
||||
}: IOverlayCalendarContinueModalProps) {
|
||||
const { hasItem } = useLocalSet<{
|
||||
credentialId: number;
|
||||
|
@ -125,7 +125,7 @@ export function OverlayCalendarSettingsModal({
|
|||
externalId: cal.externalId,
|
||||
})}
|
||||
onCheckedChange={() => {
|
||||
onToggledConnectedCalendar(cal.externalId, item.credentialId);
|
||||
onToggleConnectedCalendar(cal.externalId, item.credentialId);
|
||||
}}
|
||||
/>
|
||||
<label htmlFor={id}>{cal.name}</label>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import type { useEventReturnType } from "bookings/Booker/utils/event";
|
||||
import { useEffect, useRef } from "react";
|
||||
import { shallow } from "zustand/shallow";
|
||||
|
||||
|
@ -10,6 +9,7 @@ import { defaultBookerLayoutSettings } from "@calcom/prisma/zod-utils";
|
|||
import { extraDaysConfig } from "../../config";
|
||||
import { useBookerStore } from "../../store";
|
||||
import type { BookerLayout } from "../../types";
|
||||
import type { useEventReturnType } from "../../utils/event";
|
||||
import { validateLayout } from "../../utils/layout";
|
||||
import { getQueryParam } from "../../utils/query-param";
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ import { bookingMetadataSchema } from "@calcom/prisma/zod-utils";
|
|||
import { trpc } from "@calcom/trpc";
|
||||
import { showToast } from "@calcom/ui";
|
||||
|
||||
import type { useBookingFormReturnType } from "./useBookingForms";
|
||||
import type { useBookingFormReturnType } from "./useBookingForm";
|
||||
import { useInitialFormValues } from "./useInitialFormValues";
|
||||
|
||||
export interface IUseBookings {
|
||||
|
|
Loading…
Reference in New Issue
Block a user