             show-all-branches? (get-in app state/show-all-branches-path)
             projects (get-in app state/projects-path)
             settings (get-in app state/settings-path)
-            controls-ch (om/get-shared owner [:comms :controls])
-            user (:current-user app)]
+            controls-ch (om/get-shared owner [:comms :controls])]
         (html
          [:nav.aside-left-nav.context
           [:div.aside-activity.open

           (for [build display-builds]
             (sidebar-build build {:org org :repo repo :branch (name name-kw)}))]])))))

(defn project-aside [data owner]
  (reify
    om/IDisplayName (display-name [_] "Aside Project Activity")
    om/IRender
    (render [_]
      (let [user (:user data)
            project (:project data)
            controls-ch (om/get-shared owner [:comms :controls])
            settings (:settings data)

            [frontend.utils :as utils :include-macros true]
            [frontend.utils.github :as gh-utils]
            [frontend.utils.vcs-url :as vcs-url]
            [frontend.utils.seq :refer [select-in]]
            [om.core :as om :include-macros true]
            [om.dom :as dom :include-macros true])
  (:require-macros [frontend.utils :refer [html]]))
