mirror of
https://github.com/penpot/penpot.git
synced 2026-05-04 07:39:05 +00:00
⚡ Add micro optimization on refs/children-objects
This commit is contained in:
parent
4d2afd483b
commit
63e250d9d0
@ -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…
x
Reference in New Issue
Block a user