[perf] small perf improvement for nested-text
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
a1d6ead6d3
commit
48df741f8d
|
@ -128,7 +128,10 @@
|
||||||
|
|
||||||
(vector? text-element)
|
(vector? text-element)
|
||||||
(let [[options nested-text-elements] text-element]
|
(let [[options nested-text-elements] text-element]
|
||||||
[nested-text (prepare-text-props
|
[(if (string? nested-text-elements)
|
||||||
|
text-class
|
||||||
|
nested-text)
|
||||||
|
(prepare-text-props
|
||||||
(utils.core/deep-merge options-with-style
|
(utils.core/deep-merge options-with-style
|
||||||
options))
|
options))
|
||||||
nested-text-elements]))))
|
nested-text-elements]))))
|
||||||
|
|
Loading…
Reference in New Issue