mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
Remove more unused fns
This commit is contained in:
@@ -12,8 +12,7 @@
|
||||
[frontend.db.utils :as db-utils]
|
||||
[frontend.state :as state]
|
||||
[frontend.util :as util :refer [react]]
|
||||
[frontend.util.marker :as marker]
|
||||
[frontend.db.rules :as rules]))
|
||||
[frontend.util.marker :as marker]))
|
||||
|
||||
;; Query atom of map of Key ([repo q inputs]) -> atom
|
||||
;; TODO: replace with LRUCache, only keep the latest 20 or 50 items?
|
||||
@@ -136,10 +135,6 @@
|
||||
(set! (.-state result-atom) result)
|
||||
(add-q! k nil nil result-atom identity identity identity))))))
|
||||
|
||||
(defn add-rules-to-inputs
|
||||
[inputs]
|
||||
(conj (vec inputs) rules/rules))
|
||||
|
||||
(defn q
|
||||
[repo k {:keys [use-cache? transform-fn query-fn inputs-fn disable-reactive?]
|
||||
:or {use-cache? true
|
||||
|
||||
Reference in New Issue
Block a user