fixes bug introduced by 8af8c6840f

This commit is contained in:
Stuart Mitchell 2015-07-17 11:51:34 +12:00
parent 699d6232cd
commit 8caee1115b
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
(cond (cond
(fn? v) v ;; assumed to be existing middleware (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) (report-middleware-factories v)
(apply comp v)) (apply comp v))
:else (warn "re-frame: comp-middleware expects a vector, got: " v))) :else (warn "re-frame: comp-middleware expects a vector, got: " v)))