From a31692f8b6cdb6a87c1b64dd06bec401c81de9f1 Mon Sep 17 00:00:00 2001 From: alma Date: Sun, 11 Jan 2026 23:14:09 +0100 Subject: [PATCH] pages --- components/carnet/notes-view.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/carnet/notes-view.tsx b/components/carnet/notes-view.tsx index c2dd452..5c31e3a 100644 --- a/components/carnet/notes-view.tsx +++ b/components/carnet/notes-view.tsx @@ -63,6 +63,9 @@ export const NotesView: React.FC = ({ }; const formatNoteTitle = (note: Note) => { + if (!note.title) { + return 'Sans titre'; + } if (currentFolder === 'Diary' || currentFolder === 'Health') { // Try to extract date from title (format: YYYY-MM-DD) const dateMatch = note.title.match(/^(\d{4}-\d{2}-\d{2})/);