Skip to content

Commit 0ea7f19

Browse files
authored
fix types (#25952)
1 parent 1af7bfa commit 0ea7f19

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/web/modules/onboarding/components/OnboardingCard.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { SkeletonText } from "@calcom/ui/components/skeleton";
99
type OnboardingCardProps = {
1010
title: string;
1111
subtitle: string;
12-
children: ReactNode;
13-
footer: ReactNode | null;
12+
children?: ReactNode;
13+
footer?: ReactNode;
1414
isLoading?: boolean;
1515
floatingFooter?: boolean;
1616
};
@@ -19,8 +19,8 @@ export const OnboardingCard = ({
1919
title,
2020
subtitle,
2121
children,
22-
footer = null,
23-
isLoading = false,
22+
footer,
23+
isLoading,
2424
floatingFooter = false,
2525
}: OnboardingCardProps) => {
2626
const pathname = usePathname();

0 commit comments

Comments
 (0)