diff --git a/frontend/src/app/main/data/workspace/path/streams.cljs b/frontend/src/app/main/data/workspace/path/streams.cljs index f1de64407..94c8789c6 100644 --- a/frontend/src/app/main/data/workspace/path/streams.cljs +++ b/frontend/src/app/main/data/workspace/path/streams.cljs @@ -46,8 +46,7 @@ (drag-stream to-stream (rx/empty))) ([to-stream not-drag-stream] - (let [ - zoom (get-in @st/state [:workspace-local :zoom] 1) + (let [zoom (get-in @st/state [:workspace-local :zoom] 1) start (-> @ms/mouse-position to-pixel-snap) mouse-up (->> st/stream diff --git a/frontend/src/app/util/data.cljs b/frontend/src/app/util/data.cljs index c5ec13066..0c0d500af 100644 --- a/frontend/src/app/util/data.cljs +++ b/frontend/src/app/util/data.cljs @@ -167,11 +167,3 @@ (let [st (str/trim (str/lower search-term)) nm (str/trim (str/lower name))] (str/includes? nm st)))) - -(defn tap - "Works like rx/tap but for normal collections" - ;; Signature for transducer use - ([f] - (map #(do (f %) %))) - ([f coll] - (map #(do (f %) %) coll)))