feat: implement main application dashboard and mobile note detail page

This commit is contained in:
Michael committed 2025-12-12 11:31:47 +01:00
1 parent 970a9d6de4
commit 35ecd9a8bb
2 files changed
+8 -34

No files matched your search

+1 -1
View File
@@ -64,8 +64,8 @@ export default function NoteDetailPage() {
if (!note) return;
try {
const updated = { ...note, ...updates };
await NotesService.updateNote(updated);
setNote(updated);
await NotesService.updateNote(updated);
} catch (error) {
showError("Erreur lors de la sauvegarde");
}