       (let [controls-ch (om/get-shared owner [:comms :controls])
             projects (get-in app state/projects-path)
             settings (get-in app state/settings-path)
-            slim-aside? (get-in app state/slim-aside-path)
-            user (:current-user app)]
+            slim-aside? (get-in app state/slim-aside-path)]
         (html
          [:nav.aside-left-nav {:class (when slim-aside? "slim")}
           [:a.aside-item.logo  {:data-bind "tooltip: {title: 'Home', placement: 'right', trigger: 'hover'}"

                         :repo repo}
                        {:react-key (first branch-data)})))])))))

(defn activity [app owner]
  (reify
    om/IDisplayName (display-name [_] "Aside Activity")
    om/IRender

          [:div.aside-slideup
           [:a.aside-item {:href "/account"
                           :data-bind "tooltip: {title: 'User Account', placement: 'right', trigger: 'hover'}"}
            [:img {:src (gh-utils/gravatar-url {:gravatar_id (:gravatar-id opts)
                                                :login (:login opts)
                                                :size 50})}]
            (:login opts)]

           [:a.aside-item {:href "/logout"
                           :data-bind "tooltip: {title: 'Logout', placement: 'right', trigger: 'hover'}"}
