mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
chore: remove unused code
This commit is contained in:
@@ -61,14 +61,6 @@
|
||||
(f e)
|
||||
false)))
|
||||
|
||||
(defn enable-when-selection!
|
||||
[f]
|
||||
(fn [e]
|
||||
(when (and (state/in-selection-mode?)
|
||||
(seq (state/get-selection-blocks)))
|
||||
(f e)
|
||||
false)))
|
||||
|
||||
(defn enable-when-component!
|
||||
[component-k]
|
||||
(fn [f]
|
||||
|
||||
Reference in New Issue
Block a user