fix: type error in the EventAvailabilityTabPlatformWrapper component (#21983)

* fix: add required props in scheduleQueryData

* chore: remove any to fix runtime type checking

* chore: add a fallback to avoid runtime err

---------

Co-authored-by: Keith Williams <[email protected]>
Co-authored-by: Kartik Saini <[email protected]>
Co-authored-by: Rajiv Sahal <[email protected]>
Co-authored-by: Devanshu Sharma <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-08-28 16:11:51 +00:00
1 parent 59c76141ce
commit 724e3f2755
2 files changed
+13 -14

No files matched your search

@@ -35,7 +35,7 @@ import { Icon } from "@calcom/ui/components/icon";
import { Spinner } from "@calcom/ui/components/icon";
import { SkeletonText } from "@calcom/ui/components/skeleton";
type ScheduleQueryData = RouterOutputs["viewer"]["availability"]["schedule"]["get"];
export type ScheduleQueryData = RouterOutputs["viewer"]["availability"]["schedule"]["get"];
type AvailabilityTableCustomClassNames = {
tableContainer?: string;