                                                   :onInput #(update-player-search (.. % -target -value) app)}))
                                (g/row {:class "player-search-results"}
                                       (dom/h2 "Results")
-                                      (if (empty? (:auto-complete-results @app-state))
-                                        (dom/span "No results.")
+                                      (if (not (empty? (:auto-complete-results @app-state)))
                                         (dom/ul
                                          (map
                                           #(dom/li %)

                          :events []
                          :connected false
                          :players []
                          :auto-complete-results []}))

(defn submit-new-text [data owner]
  (let [new-text (-> (om/get-node owner "new-text") .-value)]

                                 res))}))
    om/IWillMount
    (will-mount [this]
      (event-loop app owner)
      (autocomplete-results-loop app owner))
    om/IRenderState
    (render-state [this state]
            (if (not (:connected app))
