       name = "#{@state.team.get 'slug'}-logo-#{Date.now()}.png"
       mimeType = file.type
       content = file
+
       TeamFlux.actions.uploads3({ name, content, mimeType })
       .then ({ url }) =>
         dataToUpdate =

  onClickLogo: -> @refs.view.input.click()


  onRemoveLogo: -> @updateTeam { dataToUpdate: customize: { logo: DEFAULT_LOGOPATH } }


  onUpdate: ->


  onUploadInput: ->

    [file] = @refs.view.input.files

    return  unless file
    @setState { loading: yes }
    reader = new FileReader
