From 848db3f13cce7a8fa9ee94983c1330d099acd227 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 10 Dec 2024 14:03:32 +0100 Subject: [PATCH] :sparkles: Remove components-v2 conditional on inspect right sidebar --- frontend/src/app/main/ui/viewer/inspect/right_sidebar.cljs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/app/main/ui/viewer/inspect/right_sidebar.cljs b/frontend/src/app/main/ui/viewer/inspect/right_sidebar.cljs index f55a058c2..1ccf82636 100644 --- a/frontend/src/app/main/ui/viewer/inspect/right_sidebar.cljs +++ b/frontend/src/app/main/ui/viewer/inspect/right_sidebar.cljs @@ -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