0
Fork 0
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:
Andrey Antukh 2020-01-20 14:30:52 +01:00
parent 245b5e3b79
commit 5ac5142b67

View file

@ -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")