mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-23 07:18:22 +00:00
Switch from using doall
to dorun
This commit is contained in:
parent
f852661719
commit
3311d02c22
@ -41,7 +41,7 @@
|
||||
"There are cases where eitherone event is to be dipatch "
|
||||
[effect]
|
||||
(cond
|
||||
(list? effect) (doall (map dispatch effect))
|
||||
(list? effect) (dorun (map dispatch effect))
|
||||
(vector? effect) (dispatch effect)
|
||||
:else (console :error "re-frame: expected :dispatch effect to be a list or vector, but got: " effect)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user