mirror of
https://github.com/penpot/penpot.git
synced 2026-05-06 00:28:43 +00:00
🐛 Properly redirect to login when no route.
This commit is contained in:
parent
245b5e3b79
commit
5ac5142b67
@ -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…
x
Reference in New Issue
Block a user