diff --git a/src/components/Post.js b/src/components/Post.js index d645e91..5071742 100644 --- a/src/components/Post.js +++ b/src/components/Post.js @@ -11,16 +11,17 @@ class Post extends React.Component { } render () { - return ( -
-
-
-

""

- -
-
-
- ); + console.log(this.props.posts) + return ( +
+
+
+

""

+ +
+
+
+ ); } } diff --git a/src/components/PostList.js b/src/components/PostList.js index b6d45b8..8b54ce9 100644 --- a/src/components/PostList.js +++ b/src/components/PostList.js @@ -25,7 +25,6 @@ class PostList extends React.Component { render () { - console.log(this.props.posts) return (
{this.renderList()}