0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00

🐛 Hide new css system for component right sidebar until the new design is done

This commit is contained in:
Pablo Alba 2023-11-06 12:08:56 +01:00
parent b07e9bdd37
commit 5a3a6e3237

View file

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