Fix bug which meant unknown effects were silently ignored.
This commit is contained in:
parent
de25e28997
commit
ec08a824a1
|
@ -35,7 +35,7 @@
|
|||
[context]
|
||||
(->> (:effects context)
|
||||
(map (fn [[key val]]
|
||||
(if-let [effect-fn (get-handler kind key)]
|
||||
(if-let [effect-fn (get-handler kind key true)]
|
||||
(effect-fn val))))
|
||||
doall))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue