aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Thread.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Thread.js')
-rw-r--r--vnext/src/components/Thread.js10
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>
- )
+ );
}
}