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

Merge pull request #3769 from penpot/palba-hide-new-css-for-components-sidebar

🐛 Hide new css system for component right sidebar until the new design is done
This commit is contained in:
Eva Marco 2023-11-06 12:18:24 +01:00 committed by GitHub
commit 761dd9d6c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)
@ -379,7 +379,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)