mirror of
https://github.com/penpot/penpot.git
synced 2025-05-05 11:55:53 +02: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:
commit
761dd9d6c1
1 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@
|
||||||
[{:keys [shapes] :as props}]
|
[{:keys [shapes] :as props}]
|
||||||
(let [single? (= 1 (count shapes))
|
(let [single? (= 1 (count shapes))
|
||||||
shape (first 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)
|
current-file-id (mf/use-ctx ctx/current-file-id)
|
||||||
workspace-file (deref refs/workspace-file)
|
workspace-file (deref refs/workspace-file)
|
||||||
workspace-data (deref refs/workspace-data)
|
workspace-data (deref refs/workspace-data)
|
||||||
|
@ -379,7 +379,7 @@
|
||||||
|
|
||||||
(mf/defc component-menu
|
(mf/defc component-menu
|
||||||
[{:keys [shapes swap-opened?] :as props}]
|
[{: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)
|
current-file-id (mf/use-ctx ctx/current-file-id)
|
||||||
components-v2 (mf/use-ctx ctx/components-v2)
|
components-v2 (mf/use-ctx ctx/components-v2)
|
||||||
workspace-data (deref refs/workspace-data)
|
workspace-data (deref refs/workspace-data)
|
||||||
|
|
Loading…
Add table
Reference in a new issue