fix: toggle help

This commit is contained in:
Tienson Qin
2021-03-13 09:54:38 +08:00
parent 759667e041
commit 21b2c5296a
3 changed files with 11 additions and 3 deletions

View File

@@ -292,7 +292,7 @@
;; ?
191 (fn [state e]
(when-not (util/input? (gobj/get e "target"))
(state/sidebar-add-block! (state/get-current-repo) "help" :help nil)))})))
(ui-handler/toggle-help!)))})))
{:did-mount (fn [state]
(keyboards/bind-shortcuts!)
state)}