            [:form.form-inline {:role "form"}
             [:div.col-md-5
              (om/build date-mover data {:opts {:div-id "date-mover" :k :start-date}
-                                        :init-state {:chevron-chan chevron-chan}})]
+                                        :init-state {:date-move-chan date-move-chan}})]
             [:div.col-md-5
              (om/build date-mover data {:opts {:div-id "date-mover" :k :end-date}
-                                        :init-state {:chevron-chan chevron-chan}})]]]])))))
+                                        :init-state {:date-move-chan date-move-chan}})]]]])))))

      (om/set-state! owner :start-date start-date)
      (om/set-state! owner :end-date end-date))
    om/IRenderState
    (render-state [_ {:keys [date-range-chan chevron-chan]}]
      (html
       (let [history (om/get-shared owner :history)]
         [:div

    (init-state [_]
      {:start-date (-> data :start-date)
       :end-date   (-> data :end-date)
       :date-move-chan (chan)})
    om/IWillMount
    (will-mount [_]
      (go-loop []
        (let [{:keys [date-move-chan]} (om/get-state owner)
              {:keys [event k]}      (<! date-move-chan)
              current-date           (k (om/get-state owner))
              date (calculate-new-range event current-date)]
          (om/set-state! owner k date))
