Fix my fix 'only one instance'

This commit is contained in:
Christophe Gragnic 2017-07-14 07:14:55 +02:00
parent 2313c9d509
commit 2ce934635c
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
(rf/dispatch [:timer now]))) ;; <-- dispatch used
;; Call the dispatching function every second.
;; `defonce` is like `def` but it ensures only instance one is ever
;; `defonce` is like `def` but it ensures only one instance is ever
;; created in the face of figwheel hot-reloading of this file.
(defonce do-timer (js/setInterval dispatch-timer-event 1000))