2
0
Yuki Takei 6 жил өмнө
parent
commit
01251a070c

+ 2 - 1
src/client/js/components/PageComments.jsx

@@ -191,7 +191,8 @@ class PageComments extends React.Component {
   render() {
     const topLevelComments = [];
     const allReplies = [];
-    const comments = this.props.commentContainer.state.comments;
+    const comments = this.props.commentContainer.state.comments
+      .slice().reverse(); // create shallow copy and reverse
 
     comments.forEach((comment) => {
       if (comment.replyTo === undefined) {