mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 04:41:37 +02:00
🔧 Simplify dashboard related route handlers.
This commit is contained in:
parent
5c4f88221c
commit
d34fc2512f
3 changed files with 32 additions and 34 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue