mirror of
https://github.com/penpot/penpot.git
synced 2025-05-16 11:26:09 +02:00
🐛 Properly redirect to login when no route.
This commit is contained in:
parent
245b5e3b79
commit
5ac5142b67
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
(st/emit! (rt/nav :dashboard-projects))
|
(st/emit! (rt/nav :dashboard-projects))
|
||||||
|
|
||||||
(and (= path "") (not (:auth storage)))
|
(and (= path "") (not (:auth storage)))
|
||||||
(st/emit! (rt/nav :auth/login))
|
(st/emit! (rt/nav :login))
|
||||||
|
|
||||||
(nil? match)
|
(nil? match)
|
||||||
(prn "TODO 404 main")
|
(prn "TODO 404 main")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue