feat: api v1 routes for calendar lists and notes
This commit is contained in:
@@ -31,12 +31,7 @@ export function NoteEditor({ note }: { note?: NoteDto }) {
|
||||
body,
|
||||
remindAt: remindAt ? new Date(remindAt) : null,
|
||||
});
|
||||
setCurrentNote({
|
||||
...updated,
|
||||
createdAt: updated.createdAt.toISOString(),
|
||||
updatedAt: updated.updatedAt.toISOString(),
|
||||
remindAt: updated.remindAt?.toISOString() ?? null,
|
||||
});
|
||||
setCurrentNote(updated);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user