       div
         className: 'mp-history-events'
         ref: @eventsRef
-        for event, i in @props.events
+        for event in @props.events
           if event.detail.type == 'other'
             continue if !event.game? || (!event.game.end_time? && event.game.id != @props.currentGameId)
 

            loading: @props.isAutoloading || @props.loadingNext


  teamScores: (eventIndex) =>
    game = @props.events[eventIndex].game

    return if !game?

    @scoresCache ?= {}

    if !@scoresCache[eventIndex]?
      scores =
        blue: 0
        red: 0

        continue if !score.match.pass
        scores[score.match.team] += score.score

      @scoresCache[game.id] = scores

    @scoresCache[game.id]
