mirror of
https://github.com/status-im/re-frame-10x.git
synced 2025-02-27 05:00:35 +00:00
Remove debug
This commit is contained in:
parent
de167f208c
commit
6e6744c146
@ -14,11 +14,9 @@
|
||||
(not (str/includes? component-path "devtools outer")))))
|
||||
|
||||
(defn disable-tracing! []
|
||||
(println "Disabling tracing")
|
||||
(re-frame.trace/remove-trace-cb ::cb))
|
||||
|
||||
(defn enable-tracing! []
|
||||
(println "Enabling tracing")
|
||||
(re-frame.trace/register-trace-cb ::cb (fn [new-traces]
|
||||
(when-let [new-traces (filter log-trace? new-traces)]
|
||||
(swap! total-traces + (count new-traces))
|
||||
|
Loading…
x
Reference in New Issue
Block a user