update note content

This commit is contained in:
2023-05-13 08:09:52 +02:00
parent 69cec28fb6
commit 8eb7e57203
6 changed files with 85 additions and 8 deletions

View File

@@ -91,6 +91,7 @@ export const updateNote = (noteId: string, note: BaseNote) => {
modified: new Date().getTime(),
}
baseNotes[noteId] = updatedNote
console.log(note)
}
export const addNote = (title: string, content: string, goToNote: boolean = false) => {