Minor cleanup tweaks
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
#_{:clj-kondo/ignore [:unused-namespace]}
|
||||
(ns auto-ap.core
|
||||
(:require [reagent.core :as reagent]
|
||||
[reagent.dom :as rdom]
|
||||
[re-frame.core :as re-frame]
|
||||
[auto-ap.events :as events]
|
||||
[auto-ap.views.main :refer [page active-page] ]
|
||||
[auto-ap.views.main :refer [active-page] ]
|
||||
[auto-ap.reload :as reload]
|
||||
[auto-ap.events :as events]
|
||||
|
||||
[auto-ap.config :as config]
|
||||
[auto-ap.effects :as effects]
|
||||
[pushy.core :as pushy]
|
||||
@@ -32,8 +31,7 @@
|
||||
(do
|
||||
(.setItem js/localStorage "jwt" jwt)
|
||||
(re-frame/dispatch-sync [::events/initialize-db jwt]))
|
||||
(do
|
||||
(re-frame/dispatch-sync [::events/initialize-db (.getItem js/localStorage "jwt")])))
|
||||
(re-frame/dispatch-sync [::events/initialize-db (.getItem js/localStorage "jwt")]))
|
||||
(pushy/start! p/history)
|
||||
(mount-root))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user