 
 (enable-console-print!)
 
+(defn render []
+  (r/render [app-view] (.getElementById js/document "app")))
+
 (defn ^:export init []
   (dispatch-sync [:initialize-db])
 

  "Force a re-render. For use with figwheel"
  []
  (quests/install-quests-handler!)
  (r/render [app-view] (.getElementById js/document "app")))

                       (dispatch [:set-window-visibility
                                  (= "visible" (.-visibilityState js/document))])))

  (render)

  (router/init)

