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


(enable-console-print!)

(defn ^:export init []
  (dispatch-sync [:initialize-db])


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

  (render)

  (router/init)

