mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 04:42:59 +02:00
✨ Changed grid render for performance
This commit is contained in:
parent
6a077c967a
commit
4513033634
2 changed files with 27 additions and 26 deletions
|
@ -81,7 +81,7 @@
|
|||
(when component
|
||||
[:> component (obj/set! props "key" index)
|
||||
(for [[index child] (d/enumerate children)]
|
||||
(let [props (-> props
|
||||
(let [props (-> (obj/clone props)
|
||||
(obj/set! "node" child)
|
||||
(obj/set! "index" index))]
|
||||
[:> render-node props]))])))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue