 (ns ^:figwheel-always sidequarter-frontend.core
+    (:require-macros [cljs.core.async.macros :refer [go]])
     (:require[om.core :as om :include-macros true]
-              [om.dom :as dom :include-macros true]))
+             [om.dom :as dom :include-macros true]
+             [cljs.core.async :refer [<!]]
+             [sidequarter-frontend.api :as api]))
 
 (enable-console-print!)
 


;; define your app data so that it doesn't get over-written on reload

(defonce app-state (atom {:text "Hello world!"}))

(om/root
  (fn [data owner]
    (reify om/IRender
      (render [_]
        (dom/h1 nil (:text data)))))
  app-state
  {:target (. js/document (getElementById "app"))})


  ;; your application
  ;; (swap! app-state update-in [:__figwheel_counter] inc)
)
