mirror of
https://github.com/penpot/penpot.git
synced 2026-09-09 13:39:02 +00:00
Remove ^:const metadata from router code.
This commit is contained in:
parent
af2deea11d
commit
c2b8f7e50c
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
(defonce +router+ (volatile! nil))
|
(defonce +router+ (volatile! nil))
|
||||||
|
|
||||||
(def ^:const route-l
|
(def route-l
|
||||||
(as-> (l/in [:route]) $
|
(as-> (l/in [:route]) $
|
||||||
(l/focus-atom $ s/state)))
|
(l/focus-atom $ s/state)))
|
||||||
|
|
||||||
@ -63,7 +63,7 @@
|
|||||||
(def ^:private page-route
|
(def ^:private page-route
|
||||||
[[bidi/uuid :project-uuid] "/" [bidi/uuid :page-uuid]])
|
[[bidi/uuid :project-uuid] "/" [bidi/uuid :page-uuid]])
|
||||||
|
|
||||||
(def ^:const routes
|
(def routes
|
||||||
["/" [["auth/login" :auth/login]
|
["/" [["auth/login" :auth/login]
|
||||||
["auth/register" :auth/register]
|
["auth/register" :auth/register]
|
||||||
["auth/recover" :auth/recover-password]
|
["auth/recover" :auth/recover-password]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user