mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 16:00:19 -05:00
✨ Remove components-v2 conditional on inspect right sidebar
This commit is contained in:
parent
cd6a3fd1bb
commit
848db3f13c
1 changed files with 1 additions and 4 deletions
|
@ -56,10 +56,7 @@
|
||||||
libraries (get-libraries from)
|
libraries (get-libraries from)
|
||||||
|
|
||||||
file (mf/deref refs/viewer-file)
|
file (mf/deref refs/viewer-file)
|
||||||
components-v2 (dm/get-in file [:data :options :components-v2])
|
main-instance? (ctk/main-instance? first-shape)
|
||||||
main-instance? (if components-v2
|
|
||||||
(ctk/main-instance? first-shape)
|
|
||||||
true)
|
|
||||||
|
|
||||||
handle-change-tab
|
handle-change-tab
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
|
|
Loading…
Reference in a new issue