0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-23 23:35:58 -05:00

🐛 Fix opening the swap panel on a copy of a deleted component fails

This commit is contained in:
Pablo Alba 2024-01-08 11:05:37 +01:00
parent 0ab56b38b9
commit af2e4ca00f

View file

@ -224,11 +224,10 @@
(cfh/join-path (if (not every-same-file?)
""
(find-common-path [] 0))))
filters* (mf/use-state
{:term ""
:file-id file-id
:path path
:path (or path "")
:listing-thumbs? false})
filters (deref filters*)