Skip to content

Commit c60e096

Browse files
Correct bug in previous commit
1 parent 29e3bfe commit c60e096

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/re_frame/fx.cljc

+2-1
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,5 @@
120120
(console :error "re-frame: no effects handler registered for: " key ". Ignoring")))
121121
world {:db @app-db}]
122122
(->> (handler world event-vec) ;; is expected to return a map of effects
123-
(doall run-effect))))) ;; process the returned effects
123+
(map run-effect) ;; process the returned effects
124+
doall))))

0 commit comments

Comments
 (0)