Even though they are temporary log messages, switch to use offical method.

This commit is contained in:
Mike Thompson 2016-07-19 18:51:45 +10:00
parent f42a4fa349
commit 06bec5b1d0
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@
(ratom/add-on-dispose! r #(do (swap! query->reaction dissoc cache-key)
(console :warn "Removing subscription: " cache-key)))
(.log js/console "Dispatch site: ")
(.log js/console (:dispatch-site (meta query-v)))
(console :log "Dispatch site: ")
(console :log (:dispatch-site (meta query-v)))
;; cache this reaction, so it can be used to deduplicate other, identical subscriptions
(swap! query->reaction assoc cache-key r)