mirror of https://github.com/status-im/reagent.git
Simplify
This commit is contained in:
parent
f5a192ab2e
commit
d2b974dec0
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue