Merge pull request #3977 from penpot/palba-fix-swap-on-deleted-main

🐛 Fix opening the swap panel on a copy of a deleted component fails
This commit is contained in:
Belén Albeza
2024-01-08 11:16:23 +01:00
committed by GitHub

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*)