Skip to content

Build your personal knowledge base with Trilium Notes

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.tsx
index 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;