mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
fix: move shortcut install to handler start
This commit is contained in:
@@ -276,12 +276,6 @@
|
||||
(state/hide-custom-context-menu!)
|
||||
|
||||
(editor-handler/clear-selection! e)))))
|
||||
{:did-mount (fn [state]
|
||||
(shortcut/install-shortcuts!)
|
||||
state)
|
||||
:will-unmount (fn [state]
|
||||
(shortcut/uninstall-shortcuts!)
|
||||
state)}
|
||||
[state route-match main-content]
|
||||
(let [{:keys [open? close-fn open-fn]} state
|
||||
close-fn (fn []
|
||||
|
||||
Reference in New Issue
Block a user