                   :url (str "data/players")
                   :on-complete
                    (fn [res]
-                     (om/update! app :players res))}))
+                     (om/update! app :players
+                                 res))}))
     om/IWillMount
     (will-mount [this]
                 (event-loop app owner))

                       (g/grid {}
                               (g/row {:class "player-search-input"}
                                      (dom/h2 "Search")
                                      (dom/input {:type "text" :ref "new-text" :placeholder "Enter a player name or tag..." :style {:width "100%"} :onInput #(update-player-search %)}))
                               (g/row {:class "player-search-results"}
                                      (dom/h2 "Results"))))))))

(defn main []
  (om/root

          nil)
        (recur (:event (<! ch-chsk))))))

(defn update-player-search [value]
  (println value))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

