Fixed missing parameter usage

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
Julien Eluard 2019-03-29 16:38:07 +01:00
parent ceeeebb001
commit e66452ba4b
No known key found for this signature in database
GPG Key ID: 6FD7DB5437FCBEF6
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@
(defn text [o & children] (defn text [o & children]
(if (map? o) (if (map? o)
(into [react/text o] (map wrap-text-child children)) (into [react/text o] (map wrap-text-child children))
(into [react/text o] (map wrap-text-child children)))) (into [react/text {} o] (map wrap-text-child children))))
(defn- wrap-view-child [child] (defn- wrap-view-child [child]
(if (vector? child) child [text {} child])) (if (vector? child) child [text {} child]))