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:
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;
|
||||
|
||||
Reference in new issue
Block a user