aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-05 14:16:16 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit88732ba8c06c23a93f7248b6eabc182f38be3d33 (patch)
tree760fb5e57d0271ec109592447c6d184edaf65191 /vnext
parent338850d6908a7ea803d45606932cce1f7b82cfeb (diff)
Always reload Thread to fill recommendations
Diffstat (limited to 'vnext')
-rw-r--r--vnext/src/components/Thread.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js
index f6068614..52ca1f0f 100644
--- a/vnext/src/components/Thread.js
+++ b/vnext/src/components/Thread.js
@@ -24,9 +24,7 @@ export default class Thread extends React.Component {
};
}
componentDidMount() {
- if (this.state.msg.replies > 0) {
- this.loadReplies();
- }
+ this.loadReplies();
}
loadReplies() {
this.setState({ replies: [], loading: true })