0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-09 08:38:15 -05:00

add a hardcoded flag to display/hide token sets section

This commit is contained in:
Akshay Gupta 2024-08-20 21:30:59 +05:30
parent 247e3a1559
commit b3e939d12a
No known key found for this signature in database

View file

@ -192,12 +192,14 @@
{::mf/wrap [mf/memo]
::mf/wrap-props false}
[_props]
(let [show-sets-section? false] ;; temporarily added this variable to see/hide the sets section till we have it working end to end
[:div {:class (stl/css :sidebar-tab-wrapper)}
(when show-sets-section?
[:div {:class (stl/css :sets-section-wrapper)}
[:& sets-sidebar]]
[:& sets-sidebar]])
[:div {:class (stl/css :tokens-section-wrapper)}
[:& tokens-explorer]]
[:button {:class (stl/css :download-json-button)
:on-click wtc/download-tokens-as-json}
download-icon
"Export JSON"]])
"Export JSON"]]))