mirror of
https://github.com/penpot/penpot.git
synced 2025-04-12 23:11:23 -05:00
⚡ Add micro optimization on refs/children-objects
This commit is contained in:
parent
4d2afd483b
commit
63e250d9d0
1 changed files with 2 additions and 2 deletions
|
@ -311,8 +311,8 @@
|
|||
[id]
|
||||
(l/derived
|
||||
(fn [objects]
|
||||
(let [children-ids (get-in objects [id :shapes])]
|
||||
(into [] (keep (d/getf objects)) children-ids)))
|
||||
(->> (dm/get-in objects [id :shapes])
|
||||
(into [] (keep (d/getf objects)))))
|
||||
workspace-page-objects =))
|
||||
|
||||
(defn all-children-objects
|
||||
|
|
Loading…
Add table
Reference in a new issue