[chore] remove dev print

This commit is contained in:
SouthFox 2023-08-26 22:52:36 +08:00
parent fe62e815bf
commit 1f1a18cb77
2 changed files with 0 additions and 3 deletions

View file

@ -20,5 +20,4 @@
frontend.router/router
frontend.router/on-navigate
{:use-fragment true})
(js/console.log "init")
(start))

View file

@ -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}