Don't options using default values

This commit is contained in:
Juho Teperi 2018-07-24 11:45:06 +03:00
parent d90b7cff04
commit 7e9ea8f905
2 changed files with 2 additions and 4 deletions

View file

@ -84,8 +84,7 @@
(swap! match (fn [old-match] (swap! match (fn [old-match]
(if new-match (if new-match
(assoc new-match :controllers (rfc/apply-controllers (:controllers old-match) new-match)))))) (assoc new-match :controllers (rfc/apply-controllers (:controllers old-match) new-match))))))
{:use-fragment true {:use-fragment true})
:path-prefix "/"})
(r/render [current-page] (.getElementById js/document "app"))) (r/render [current-page] (.getElementById js/document "app")))
(init!) (init!)

View file

@ -62,8 +62,7 @@
(defn init! [] (defn init! []
(rfe/start! routes (rfe/start! routes
(fn [m] (reset! match m)) (fn [m] (reset! match m))
{:use-fragment true {:use-fragment true})
:path-prefix "/"})
(r/render [current-page] (.getElementById js/document "app"))) (r/render [current-page] (.getElementById js/document "app")))
(init!) (init!)