🐛 Fix problem with memoized group

This commit is contained in:
alonso.torres 2021-05-12 10:25:17 +02:00
parent ab799c83ee
commit 9775b79a0b

View file

@ -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")