tidy: remove extra debug labels
This commit is contained in:
parent
3be9bd0bbb
commit
8d821c27cb
|
@ -54,18 +54,18 @@
|
|||
v))))
|
||||
|
||||
(defn make-state-ref
|
||||
[state-ratom label]
|
||||
[state-ratom]
|
||||
(let [state-ref (atom nil)]
|
||||
(js/console.log "init make-state-ref" label)
|
||||
(let [reaction-sub (reagent.ratom/track!
|
||||
(js/console.log "init make-state-ref")
|
||||
(let [reaction-sub
|
||||
(reagent.ratom/track!
|
||||
(fn [state-ratom]
|
||||
(js/console.log "reagent reaction" label)
|
||||
(js/console.log "reagent reaction")
|
||||
(let [state @state-ratom]
|
||||
(js/console.log
|
||||
(if (nil? @state-ref)
|
||||
"state-ref init"
|
||||
"state-ref update")
|
||||
label
|
||||
(clj->js state))
|
||||
(reset! state-ref state)
|
||||
state))
|
||||
|
|
Loading…
Reference in New Issue