       logopath: '/a/images/logos/sidebar_footer_logo.svg'
       canEdit: canEdit
       loading: no
+      teamNameChanged: no
 
 
   componentDidMount: ->


    TeamFlux.actions.updateTeam(dataToUpdate).then ({ message }) =>
      notify message
      @setState { loading: no }
    .catch ({ message }) =>
      notify message
      @setState { loading: no }


  onTeamNameChanged: (event) ->

    @setState
      teamName : event.target.value


  onLeaveTeam: (event) ->


      ref='view'
      team={@state.team}
      teamName={@state.teamName}
      teamNameChanged={@state.teamNameChanged}
      canEdit={@state.canEdit}
      loading={@state.loading}
      logopath={@state.logopath}
