       .always LoadingOverlay.hide
 
 
-  userUpdate: (_e, user) ->
+  userUpdate: (_e, user) =>
     return if !user?
     @setState user: user
 
 
-  userPageUpdate: (_e, newUserPage) ->
+  userPageUpdate: (_e, newUserPage) =>
     currentUserPage = _.cloneDeep @state.userPage
     @setState userPage: _.extend(currentUserPage, newUserPage)
 
 
-  validMode: (mode) ->
+  validMode: (mode) =>
     modes = BeatmapHelper.modes
 
     if _.includes(modes, mode)

      el component, props


  setCurrentMode: (_e, {mode}) ->
    return if @state.currentMode == mode
    @setState currentMode: @validMode(mode)


  updateOrder: (event) ->
    $elems = $(event.target)

    newOrder = $elems.sortable('toArray', attribute: 'data-page-id')


    document.body.dataset.profilePageState = JSON.stringify(@state)

    $(window).stop()
    Timeout.clear @modeScrollTimeout


  render: =>
    rankHistories = @props.allRankHistories[@state.currentMode]
    stats = @props.allStats[@state.currentMode]
    scores = @props.allScores[@state.currentMode]
