From 52e0198d2752664d4495d430adafb08c632da4d5 Mon Sep 17 00:00:00 2001 From: truemiller Date: Tue, 24 Dec 2024 13:51:02 +0000 Subject: [PATCH] feat: make back button properties optional in CardTitle component --- frontend/components/Card/CardTitle.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/components/Card/CardTitle.tsx b/frontend/components/Card/CardTitle.tsx index d4b1f7de4..8802b8646 100644 --- a/frontend/components/Card/CardTitle.tsx +++ b/frontend/components/Card/CardTitle.tsx @@ -9,8 +9,8 @@ export const CardTitle = ({ backButtonCallback, }: { title: string | ReactNode; - showBackButton: boolean; - backButtonCallback: () => void; + showBackButton?: boolean; + backButtonCallback?: () => void; }) => ( {showBackButton && (