From 4a7a9e391e7db13be49ef16e0adbe196897d4506 Mon Sep 17 00:00:00 2001 From: Ryukemeister Date: Tue, 10 Oct 2023 22:35:51 +0530 Subject: [PATCH] update types for schedules --- packages/atoms/availabilitylist/AvailabilityList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/atoms/availabilitylist/AvailabilityList.tsx b/packages/atoms/availabilitylist/AvailabilityList.tsx index 1eb2f1ce21..f7efed72c5 100644 --- a/packages/atoms/availabilitylist/AvailabilityList.tsx +++ b/packages/atoms/availabilitylist/AvailabilityList.tsx @@ -2,7 +2,7 @@ import { Clock } from "@calcom/ui/components/icon"; import { EmptyScreen } from "./EmptyScreen"; -export function AvailabilityList({ schedules }: { schedules: [] }) { +export function AvailabilityList({ schedules }: { schedules: { id: string }[] }) { return ( <> {schedules.length === 0 ? (