Merge pull request #74 from smahood/master

Replace dispatch with dispatch-sync for issue #39
This commit is contained in:
Mike Thompson 2015-07-10 17:10:29 +10:00
commit eb9f8f44f7
1 changed files with 1 additions and 1 deletions

View File

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