Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
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.tsxindex 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;}