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

      (log (str "Sent to Tango Backend => " remote))
      (chsk-send! [:event-manager/query [[:competition/name :competition/location]]]))))

(def reconciler
  (om/reconciler
    {:state conn

         nil
         (dom/th nil "Namn")
         (dom/th nil "Plats")))
       (apply dom/tbody nil (map competition competitions)))
      (dom/button
       #js {:onClick
            (fn [e]
              (test-query-click this))}
       "Query")))))

(defui MenuComponent
  Object
  (render
   [this]
   (dom/div nil (dom/button #js {:onClick #(log "T'vlingar")} "Tävlingar")
            (dom/div nil ((om/factory CompetitionsView))))))


(defn transit-post [url]
