mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
✨ Close swap panel after doing a swap
Some checks are pending
Commit Message Check / Check Commit Message (push) Waiting to run
Some checks are pending
Commit Message Check / Check Commit Message (push) Waiting to run
This commit is contained in:
@@ -346,7 +346,9 @@
|
||||
(mf/use-fn
|
||||
(mf/deps shapes file-id item)
|
||||
#(when-not loop
|
||||
(st/emit! (dwl/component-multi-swap shapes file-id (:id item)))))
|
||||
(st/emit!
|
||||
(dwl/component-multi-swap shapes file-id (:id item))
|
||||
(dwsp/clear-specialized-panel))))
|
||||
|
||||
item-ref (mf/use-ref)
|
||||
visible? (h/use-visible item-ref :once? true)]
|
||||
|
||||
Reference in New Issue
Block a user