mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-07 02:33:39 +02:00
Make code a bit nicer to read / more idiomatic in some places
This commit is contained in:
parent
19aa7038b3
commit
491c172ae7
3 changed files with 26 additions and 32 deletions
|
|
@ -91,9 +91,9 @@
|
|||
(fn [{:keys [db]} [_ route params query]]
|
||||
;; all the naviagation logic is in routes.cljs; all we need to do here
|
||||
;; is say what actually happens once we've navigated succesfully
|
||||
(println "routes/route-data" (routes/data-for route params query))
|
||||
(println "routes/route-data" (routes/route-data route params query))
|
||||
{:db (assoc db :current-route [route params query])
|
||||
:dispatch (routes/data-for route params query)}))
|
||||
:dispatch (routes/route-data route params query)}))
|
||||
|
||||
(re-frame/reg-event-fx
|
||||
::routes/unauthorized
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue