         @headerBottom()
 
 
-  headerBottom: ->
+  headerBottom: =>
     bn = 'beatmap-discussions-header-bottom'
 
     div className: bn,

              beatmap: @props.currentBeatmap


  stats: ->
    bn = 'counter-box'

    for type in ['mine', 'resolved', 'pending', 'praises', 'deleted', 'total']

{a, div, h1, h2, p} = React.DOM
el = React.createElement

class BeatmapDiscussions.Header extends React.PureComponent
  componentDidMount: =>
    @updateChart()


  componentDidUpdate: =>
    @updateChart()


  componentWillUnmount: =>
    $(window).off '.beatmapDiscussionsOverview'


  render: =>
    div null,
      div
        className: 'osu-page'
