Skip to content

Scheduling infrastructure for absolutely everyone.

fix types (#25952)

Volnei Munhoz0ea7f1944fcd
diff --git a/apps/web/modules/onboarding/components/OnboardingCard.tsx b/apps/web/modules/onboarding/components/OnboardingCard.tsx
index 1142ef26f0d..c97a5377485 100644
--- a/apps/web/modules/onboarding/components/OnboardingCard.tsx
+++ b/apps/web/modules/onboarding/components/OnboardingCard.tsx
@@ -9,8 +9,8 @@ import { SkeletonText } from "@calcom/ui/components/skeleton";
type OnboardingCardProps = {
title: string;
subtitle: string;
- children: ReactNode;
- footer: ReactNode | null;
+ children?: ReactNode;
+ footer?: ReactNode;
isLoading?: boolean;
floatingFooter?: boolean;
};
@@ -19,8 +19,8 @@ export const OnboardingCard = ({
title,
subtitle,
children,
- footer = null,
- isLoading = false,
+ footer,
+ isLoading,
floatingFooter = false,
}: OnboardingCardProps) => {
const pathname = usePathname();