Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: add `content` to new session type

Abdullah Atta5de7fc5bd778
diff --git a/apps/web/src/stores/editor-store.ts b/apps/web/src/stores/editor-store.ts
index c03479586..f57b7cb95 100644
--- a/apps/web/src/stores/editor-store.ts
+++ b/apps/web/src/stores/editor-store.ts
@@ -100,6 +100,7 @@ export type NewEditorSession = BaseEditorSession & {
type: "new";
context?: Context;
saveState: SaveState;
+ content?: NoteContent<false>;
};
export type ConflictedEditorSession = BaseEditorSession & {