mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-23 23:38:11 +00:00
Replace dispatch with dispath-sync for issue #39
This commit is contained in:
parent
3d882c2129
commit
2f59033275
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user