0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-11 01:10:28 -05:00

Set proper equality check for ref used in group.

This avoids rerender groups when only siblings changes.
This commit is contained in:
Andrey Antukh 2020-04-10 17:23:38 +02:00 committed by Alonso Torres
parent 4a2b67c9d5
commit 8a4a9d7df8

View file

@ -70,7 +70,7 @@
(map #(get objects %)) (map #(get objects %))
(filter identity) (filter identity)
(vec))))) (vec)))))
(l/derive st/state))) (l/derive st/state {:equals? =})))
(defn is-child-selected? (defn is-child-selected?
[id] [id]