 
     friend = _.find(currentUser.friends, target_id: props.userId)
     followersWithoutSelf = @props.followers ? 0
-    followersWithoutSelf -= 1 if friend
+    followersWithoutSelf -= 1 if friend?
 
     @state = {friend, followersWithoutSelf}
 

  clicked: (e) =>
    @setState loading: true

    if @state.friend
      #un-friending
      @xhr = $.ajax
        type: "DELETE"

          el Spinner
        when !isVisible
          i className: 'fas fa-user'
        when @state.friend?
          [
            span
              key: 'hover'
