mirror of
https://github.com/penpot/penpot.git
synced 2026-09-13 15:38:38 +00:00
🐛 Fix problem with memoized group
This commit is contained in:
parent
ab799c83ee
commit
9775b79a0b
@ -30,7 +30,7 @@
|
|||||||
[shape-wrapper]
|
[shape-wrapper]
|
||||||
(let [group-shape (group/group-shape shape-wrapper)]
|
(let [group-shape (group/group-shape shape-wrapper)]
|
||||||
(mf/fnc group-wrapper
|
(mf/fnc group-wrapper
|
||||||
{::mf/wrap [#(mf/memo' % (mf/check-props ["shape"]))]
|
{::mf/wrap [#(mf/memo' % (mf/check-props ["shape" "frame"]))]
|
||||||
::mf/wrap-props false}
|
::mf/wrap-props false}
|
||||||
[props]
|
[props]
|
||||||
(let [shape (unchecked-get props "shape")
|
(let [shape (unchecked-get props "shape")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user