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/modals: make the title optional
Adorian Doranb4d0af6eb2da
diff --git a/apps/client/src/widgets/react/Modal.tsx b/apps/client/src/widgets/react/Modal.tsxindex e7a7c721f8..91bc690049 100644--- a/apps/client/src/widgets/react/Modal.tsx+++ b/apps/client/src/widgets/react/Modal.tsx@@ -16,7 +16,7 @@ interface CustomTitleBarButton {export interface ModalProps {className: string;- title: string | ComponentChildren;+ title?: string | ComponentChildren;customTitleBarButtons?: (CustomTitleBarButton | null)[];size: "xl" | "lg" | "md" | "sm";children: ComponentChildren;