mirror of https://github.com/logseq/logseq
chore: remove unused code
parent
3751689b9e
commit
c7efda6c62
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue