0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Remove components-v2 conditional on inspect right sidebar

This commit is contained in:
Andrey Antukh 2024-12-10 14:03:32 +01:00
parent cd6a3fd1bb
commit 848db3f13c

View file

@ -56,10 +56,7 @@
libraries (get-libraries from)
file (mf/deref refs/viewer-file)
components-v2 (dm/get-in file [:data :options :components-v2])
main-instance? (if components-v2
(ctk/main-instance? first-shape)
true)
main-instance? (ctk/main-instance? first-shape)
handle-change-tab
(mf/use-fn