feat: cmd+c cmd+c to clear the right sidebar

This commit is contained in:
Tienson Qin
2021-08-23 23:45:12 +08:00
parent c2e7593923
commit 64ff907974
2 changed files with 11 additions and 1 deletions

View File

@@ -741,6 +741,10 @@
[]
(:sidebar/blocks @state))
(defn clear-sidebar-blocks!
[]
(set-state! :sidebar/blocks '()))
(defn sidebar-block-toggle-collapse!
[db-id]
(when db-id