mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 17:21:38 +02:00
Move router lense decaration to uxbox.ui ns.
This commit is contained in:
parent
e0ba0fd41f
commit
6eb65bfe39
2 changed files with 5 additions and 6 deletions
|
@ -30,11 +30,15 @@
|
|||
(def ^:const +unrestricted+ #{:auth/login})
|
||||
(def ^:const restricted? (complement +unrestricted+))
|
||||
|
||||
(def route-l
|
||||
(as-> (l/key :route) $
|
||||
(l/focus-atom $ st/state)))
|
||||
|
||||
;; --- Main App (Component)
|
||||
|
||||
(defn app-render
|
||||
[own]
|
||||
(let [route (rum/react r/route-l)
|
||||
(let [route (rum/react route-l)
|
||||
auth (rum/react st/auth-l)
|
||||
location (:id route)
|
||||
params (:params route)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue