Skip to content

Commit

Permalink
rm listener
Browse files Browse the repository at this point in the history
  • Loading branch information
ruiii committed Sep 18, 2015
1 parent d0779ed commit 02d4631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ module.exports =
window.addEventListener 'game.response', @handleResponse
setInterval @updateCountdown, 1000
componentWillUnmount: ->
window.addEventListener 'game.response', @handleResponse
window.removeEventListener 'game.response', @handleResponse
clearInterval @updateCountdown, 1000
componentWillUpdate: (nextProps, nextState) ->
{senka} = @state
Expand Down

0 comments on commit 02d4631

Please sign in to comment.