mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
mobile: cleanup
This commit is contained in:
committed by
Abdullah Atta
parent
6b2bf369ff
commit
2aa3aaf2f8
@@ -299,7 +299,6 @@ export const useEditor = (
|
||||
}
|
||||
|
||||
if (!title && isContentInvalid(data) && id) {
|
||||
console.log("new editor session", title, isContentInvalid(data), id);
|
||||
// Create a new history session if recieved empty or invalid content
|
||||
// To ensure that history is preserved for correct content.
|
||||
currentSessionHistoryId = editorSessionHistory.newSession(id);
|
||||
@@ -313,8 +312,6 @@ export const useEditor = (
|
||||
sessionId: `${currentSessionHistoryId}`
|
||||
};
|
||||
|
||||
console.log(noteData.sessionId);
|
||||
|
||||
noteData.title = title;
|
||||
|
||||
if (ignoreEdit) {
|
||||
|
||||
Reference in New Issue
Block a user