 ;; state
 
 (defonce state
-  (atom {:cart {}
-         :view :main
-         }))
+  (atom {:cart []
+         :available-products []}))
 
 ;; ──────────────────────────────────────────────────────────────────────
 ;; Main

      (dom/h2 "Cart")
      (list-items (:cart data)))))

(def intro "Hello, what can I help you find today?")

(defcomponent app [data owner]
  (render [_]
    (dom/div {:class "container-fluid"}


;; Cross domain, simple text interaction with Wit.ai, to get this to
;; work run chrome with `google-chrome --disable-web-security`
(defn wit-send [msg]
  (http/get "https://api.wit.ai/message"
    ;;The other token is tied to a domain, this one isn't so keep it
