mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2026-03-10 21:25:04 +00:00
changed variable name to postId
This commit is contained in:
@@ -95,7 +95,7 @@ class user extends Component {
|
||||
|
||||
let posts = classes.data
|
||||
let recentPostsMarkup = posts ? (
|
||||
this.state.posts.map(post => <Posts key={post.id} post={post}/>)
|
||||
this.state.posts.map(post => <Posts key={post.postId} post={post}/>)
|
||||
) : ( <p> Loading... </p> );
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user