mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 22:21:50 +02:00
♻️ remove new css from other elements
This commit is contained in:
parent
480251c41c
commit
c14fe661df
19 changed files with 702 additions and 1539 deletions
|
@ -7,7 +7,6 @@
|
|||
(ns app.main.ui
|
||||
(:require
|
||||
[app.config :as cf]
|
||||
[app.main.features :as features]
|
||||
[app.main.refs :as refs]
|
||||
[app.main.store :as st]
|
||||
[app.main.ui.context :as ctx]
|
||||
|
@ -58,10 +57,8 @@
|
|||
(mf/defc main-page
|
||||
{::mf/wrap [#(mf/catch % {:fallback on-main-error})]}
|
||||
[{:keys [route profile]}]
|
||||
(let [{:keys [data params]} route
|
||||
new-css-system (features/use-feature "styles/v2")]
|
||||
(let [{:keys [data params]} route]
|
||||
[:& (mf/provider ctx/current-route) {:value route}
|
||||
[:& (mf/provider ctx/new-css-system) {:value new-css-system}
|
||||
(case (:name data)
|
||||
(:auth-login
|
||||
:auth-register
|
||||
|
@ -171,7 +168,7 @@
|
|||
:frame-preview
|
||||
[:& frame-preview/frame-preview]
|
||||
|
||||
nil)]]))
|
||||
nil)]))
|
||||
|
||||
(mf/defc app
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue