We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b28b09c commit 017cff5Copy full SHA for 017cff5
app/components/Post.js
@@ -59,7 +59,7 @@ export default class Post extends React.Component {
59
{loadingComments === true
60
? loadingPost === false && <Loading text='Fetching comments' />
61
: <React.Fragment>
62
- {this.state.comments.map((comment) =>
+ {comments.map((comment) =>
63
<Comment
64
key={comment.id}
65
comment={comment}
@@ -69,4 +69,4 @@ export default class Post extends React.Component {
69
</React.Fragment>
70
)
71
}
72
-}
+}
0 commit comments