mirror of
https://github.com/penpot/penpot.git
synced 2025-06-11 03:31:38 +02:00
✨ Adapt to rumext api changes.
This commit is contained in:
parent
9aac5e91ab
commit
205d09a5cd
20 changed files with 68 additions and 75 deletions
|
@ -36,8 +36,7 @@
|
|||
selected? (contains? selected (:id shape))
|
||||
on-mouse-down #(common/on-mouse-down % shape selected)]
|
||||
|
||||
(mf/use-effect
|
||||
{:init #(st/emit! (udi/fetch-image (:image shape)))})
|
||||
(mf/use-effect #(st/emit! (udi/fetch-image (:image shape))))
|
||||
|
||||
(when image
|
||||
[:g.shape {:class (when selected? "selected")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue