From d2b974dec048521d381df0b40e833f4bfaec08e5 Mon Sep 17 00:00:00 2001 From: Jim Berlage Date: Tue, 4 Dec 2018 09:14:27 -0600 Subject: [PATCH] Simplify --- src/reagent/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reagent/core.cljs b/src/reagent/core.cljs index 344bb3d..6af869b 100644 --- a/src/reagent/core.cljs +++ b/src/reagent/core.cljs @@ -200,7 +200,7 @@ ([] (util/merge-props)) ([defaults] (util/merge-props defaults)) ([defaults props] (util/merge-props defaults props)) - ([defaults props & others] (apply util/merge-props (concat [defaults props] others)))) + ([defaults props & others] (apply util/merge-props defaults props others))) (defn flush "Render dirty components immediately to the DOM.