From c60e096d55635b3a3e9b66ea52e4e53a9c2c9275 Mon Sep 17 00:00:00 2001 From: Mike Thompson Date: Wed, 27 Jul 2016 22:31:36 +1000 Subject: [PATCH] Correct bug in previous commit --- src/re_frame/fx.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/re_frame/fx.cljc b/src/re_frame/fx.cljc index 9d6496c..9afc2f2 100644 --- a/src/re_frame/fx.cljc +++ b/src/re_frame/fx.cljc @@ -120,4 +120,5 @@ (console :error "re-frame: no effects handler registered for: " key ". Ignoring"))) world {:db @app-db}] (->> (handler world event-vec) ;; is expected to return a map of effects - (doall run-effect))))) ;; process the returned effects + (map run-effect) ;; process the returned effects + doall))))