diff --git a/public/src/components/Editor/Plugin.ts b/public/src/components/Editor/Plugin.ts index 8be8991c..921b6563 100644 --- a/public/src/components/Editor/Plugin.ts +++ b/public/src/components/Editor/Plugin.ts @@ -1097,7 +1097,6 @@ const RenderSubNote = (subNoteId:string) => { } } - deleteSubNoteBtnContainer.appendChild(deleteSubNoteBtn) subNoteContainer.appendChild(deleteSubNoteBtnContainer) } diff --git a/public/src/modules/router.tsx b/public/src/modules/router.tsx index 36b088a9..7b927add 100644 --- a/public/src/modules/router.tsx +++ b/public/src/modules/router.tsx @@ -179,7 +179,10 @@ export class Router extends ScReact.Component { } public openSharedNotePage (note:NoteType) { - // history.pushState(null, null, "/notes/" + note.id); + console.log("openSharedNotePage") + console.log(note) + + history.pushState(null, null, "/notes/" + note.id); this.setState(s => ({ ...s,