mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 19:16:37 +02:00
🐛 Fix error when changing shadow color
This commit is contained in:
parent
a41ce5b8b7
commit
5ed1ff6d41
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue