mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05: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))
|
||||
|
||||
(and (= path "") (not (:auth storage)))
|
||||
(st/emit! (rt/nav :auth/login))
|
||||
(st/emit! (rt/nav :login))
|
||||
|
||||
(nil? match)
|
||||
(prn "TODO 404 main")
|
||||
|
|
Loading…
Add table
Reference in a new issue