Skip to content

Build your personal knowledge base with Trilium Notes

client/ui/cards: make a property optional

Adorian Doran61953fd7132e
diff --git a/apps/client/src/widgets/react/Card.tsx b/apps/client/src/widgets/react/Card.tsx
index 1573c2fe0b..34eea094af 100644
--- a/apps/client/src/widgets/react/Card.tsx
+++ b/apps/client/src/widgets/react/Card.tsx
@@ -18,7 +18,7 @@ interface CardSectionProps {
className?: string;
subSections?: JSX.Element | JSX.Element[];
childrenVisible?: boolean;
- hasAction: boolean;
+ hasAction?: boolean;
onAction?: () => void;
}