Replace dispatch with dispath-sync for issue #39
This commit is contained in:
parent
3d882c2129
commit
2f59033275
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue