update types for schedules

availability-list
Ryukemeister 2023-10-10 22:35:51 +05:30
parent 0f6f5c716c
commit 4a7a9e391e
1 changed files with 1 additions and 1 deletions

View File

@ -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 ? (