 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Components
-
-;; (defui Competition
-;;   Object
-;;   (render
-;;    [this]
-;;    (dom/div nil "Hi mom I'm a competition")))
-
-;; (def competition (om/factory Competition))
 
 (defui Competition
   Object


(om/add-root! reconciler
  CompetitionsView (gdom/getElement "app"))


(defmethod event-msg-handler :chsk/recv
  [{:as ev-msg :keys [?data]}]
  (let [[topic payload] ?data]
    (log (str "Push event from server: " ev-msg))
    (when (= topic :event-manager/query-result)
      (handle-query-result (second ?data)))))

(defmethod event-msg-handler :chsk/handshake
  [{:as ev-msg :keys [?data]}]
