From 5a3a6e3237ecf3a0d855e0d6dd84507dd44b83f0 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Mon, 6 Nov 2023 12:08:56 +0100 Subject: [PATCH] :bug: Hide new css system for component right sidebar until the new design is done --- .../main/ui/workspace/sidebar/options/menus/component.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs index af382cdb2..2fad6416d 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs @@ -176,7 +176,7 @@ [{:keys [shapes] :as props}] (let [single? (= 1 (count shapes)) shape (first shapes) - new-css-system (mf/use-ctx ctx/new-css-system) + new-css-system false ;;(mf/use-ctx ctx/new-css-system) ;;TODO do not show new-css-system until we have the new design current-file-id (mf/use-ctx ctx/current-file-id) workspace-file (deref refs/workspace-file) workspace-data (deref refs/workspace-data) @@ -375,7 +375,7 @@ (mf/defc component-menu [{:keys [shapes swap-opened?] :as props}] - (let [new-css-system (mf/use-ctx ctx/new-css-system) + (let [new-css-system false ;;(mf/use-ctx ctx/new-css-system) ;;TODO do not show new-css-system until we have the new design current-file-id (mf/use-ctx ctx/current-file-id) components-v2 (mf/use-ctx ctx/components-v2) workspace-data (deref refs/workspace-data)