From ea1b9039ae221355cfaabb16fc43dab5917bea56 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 6 Jul 2018 02:11:40 +0300 Subject: Fix eslint warnings --- vnext/src/components/Thread.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vnext/src/components/Thread.js') diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index 7ec6fff6..7f8e515a 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -31,7 +31,7 @@ export default class Thread extends React.Component { this.loadReplies(); } loadReplies() { - this.setState({ replies: [], loading: true }) + this.setState({ replies: [], loading: true }); const { mid } = this.props.match.params; let params = { mid: mid @@ -47,7 +47,7 @@ export default class Thread extends React.Component { replies: response.data, loading: false, active: 0 - }) + }); } ).catch(ex => { console.log(ex); @@ -56,13 +56,13 @@ export default class Thread extends React.Component { setActive(msg, event) { this.setState({ active: msg.rid || 0 - }) + }); } onReply = (msg) => { if (msg.mid == this.state.msg.mid) { this.setState({ replies: [...this.state.replies, msg] - }) + }); } } postComment = (template) => { @@ -153,7 +153,7 @@ export default class Thread extends React.Component { } - ) + ); } } -- cgit v1.2.3