Replace dispatch with dispath-sync for issue #39

This commit is contained in:
Shaun Mahood 2015-07-09 16:03:54 -06:00
parent 3d882c2129
commit 2f59033275
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@
"Time color: "
[:input {:type "text"
:value @time-color
:on-change #(dispatch
:on-change #(dispatch-sync
[:time-color (-> % .-target .-value)])}]])))
(defn simple-example