🐛 Fix error when changing shadow color

This commit is contained in:
alonso.torres 2024-02-06 15:36:51 +01:00
parent a41ce5b8b7
commit 5ed1ff6d41

View file

@ -112,7 +112,7 @@
(fn [color] (fn [color]
(st/emit! (dch/update-shapes (st/emit! (dch/update-shapes
ids ids
#(assoc-in % [:shadow index :color] color))))) #(assoc-in % [:shadow index :color] (d/without-nils color))))))
detach-color detach-color
(mf/use-fn (mf/use-fn