Correct bug in previous commit

This commit is contained in:
Mike Thompson 2016-07-27 22:31:36 +10:00
parent 29e3bfe145
commit c60e096d55
1 changed files with 2 additions and 1 deletions

View File

@ -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))))