 (om/defui ^:once LessonVideo
   static om/IQuery
   (query [_] [:lesson/type :lesson/description :youtube/id
-              {:lesson/topic [{:topic/course (om/get-query CourseTopicsMenu)}]}])
-
-  Object
-  (render [this]
-    (let [{:keys [lesson/description] :as props} (om/props this)]
-      (dom/div nil
-        (course-topics-menu (get-in props [:lesson/topic :topic/course]))
+              {:lesson/topic (om/get-query LessonTopicMenu)}])
+
+  Object
+  (render [this]
+    (let [{:keys [lesson/description lesson/topic] :as props} (om/props this)]
+      (dom/div nil
+        (lesson-topic-menu topic)
         (dom/div #js {:className "vendor"} (youtube-video props))
         (dom/div nil description)))))
 


(defmethod r/route->component ::r/topic [_] TopicPage)

(om/defui ^:once YoutubeVideo
  Object
  (render [this]

        (dom/h1 nil "Header")
        (dom/ul nil
          (dom/li nil (link {::r/handler ::r/home} "Home"))
          (dom/li nil (link {::r/handler ::r/about} "About")))
        (if (= :loading (get-in data [:ui/fetch-state ::df/type]))
          (loading nil)
          ((u/route->factory route) data))))))
