Skip to content

Commit

Permalink
feat: make back button properties optional in CardTitle component
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller authored and Tanya-atatakai committed Dec 25, 2024
1 parent d6af7ef commit 52e0198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/Card/CardTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export const CardTitle = ({
backButtonCallback,
}: {
title: string | ReactNode;
showBackButton: boolean;
backButtonCallback: () => void;
showBackButton?: boolean;
backButtonCallback?: () => void;
}) => (
<Flex justify="start" align="center" gap={12}>
{showBackButton && (
Expand Down

0 comments on commit 52e0198

Please sign in to comment.