[chore] remove dev print
This commit is contained in:
parent
fe62e815bf
commit
1f1a18cb77
2 changed files with 0 additions and 3 deletions
|
@ -20,5 +20,4 @@
|
|||
frontend.router/router
|
||||
frontend.router/on-navigate
|
||||
{:use-fragment true})
|
||||
(js/console.log "init")
|
||||
(start))
|
||||
|
|
|
@ -17,10 +17,8 @@
|
|||
(reg-event-fx
|
||||
:set-active-page
|
||||
(fn [{:keys [db]} [_ {:keys [new-match id]}]]
|
||||
(js/console.log new-match)
|
||||
(let [page (get-in new-match [:data :name])
|
||||
set-page (assoc db :current-route new-match)]
|
||||
(js/console.log page)
|
||||
(case page
|
||||
;; -- URL @ "/" --------------------------------------------------------
|
||||
:frontpage {:db set-page}
|
||||
|
|
Loading…
Reference in a new issue