diff options
author | 2018-07-06 02:11:40 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:53 +0300 | |
commit | ea1b9039ae221355cfaabb16fc43dab5917bea56 (patch) | |
tree | 9e9c40a33cfcbd69062dae77a68964929f952368 /vnext/src/components/Thread.js | |
parent | 91faf0911184bb430170d021195d008b977e0ac4 (diff) |
Fix eslint warnings
Diffstat (limited to 'vnext/src/components/Thread.js')
-rw-r--r-- | vnext/src/components/Thread.js | 10 |
1 files changed, 5 insertions, 5 deletions
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 { } </ul> </React.Fragment> - ) + ); } } |