🔧 Simplify dashboard related route handlers.

This commit is contained in:
Andrey Antukh 2019-07-22 14:00:48 +02:00
parent 5c4f88221c
commit d34fc2512f
3 changed files with 32 additions and 34 deletions

View file

@ -61,8 +61,8 @@
(let [match (rt/match router path)]
(prn "on-navigate" path match)
(cond
(and (= path "") (nil? match))
(html-history/set-path! "/not-found")
;; (and (= path "") (nil? match))
;; (html-history/set-path! "/not-found")
(nil? match)
(prn "TODO 404")