From 184eac99ddd329fcd803f938f193572cc64f842e Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Fri, 10 Jul 2015 08:40:38 -0700 Subject: Removed extraneous setState --- web/react/components/textbox.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web') diff --git a/web/react/components/textbox.jsx b/web/react/components/textbox.jsx index 7e5f8e2f4..ad50b7920 100644 --- a/web/react/components/textbox.jsx +++ b/web/react/components/textbox.jsx @@ -71,11 +71,10 @@ module.exports = React.createClass({ type: ActionTypes.RECIEVED_ERROR, err: null }); - this.setState({ numPresses: 0 }); AsyncClient.updateLastViewedAt(); } - + window.clearInterval(this.state.timerInterrupt); this.setState({ timerInterrupt: null }); }, -- cgit v1.2.3-1-g7c22