fixes bug introduced by 8af8c6840f
This commit is contained in:
parent
699d6232cd
commit
8caee1115b
|
@ -30,7 +30,7 @@
|
|||
|
||||
(cond
|
||||
(fn? v) v ;; assumed to be existing middleware
|
||||
(seq? v) (let [v (remove nil? (flatten v))]
|
||||
(coll? v) (let [v (remove nil? (flatten v))]
|
||||
(report-middleware-factories v)
|
||||
(apply comp v))
|
||||
:else (warn "re-frame: comp-middleware expects a vector, got: " v)))
|
||||
|
|
Loading…
Reference in New Issue