I have a very basic React app setup. I am getting an error I do not understand. This is the error in full: 

```
Objects are not valid as a React child (found: object with keys {posts}). If you meant to render a collection of children, use an array instead.
    in PostList (at App.js:17)
    in div (at App.js:15)
    in App (at index.js:7)
▶ 25 stack frames were collapsed.
./src/index.js
src/index.js:7
   4 | import App from './App';
   5 | import posts from './posts.json'
   6 | 
>  7 | ReactDOM.render(<App posts={posts}/>, document.getElementById('root'));
   8 | 
   9 | 
  10 | 

```

It appears the React does not like this line and I am unsure why. Here is the app.js file: 

```
  import React from 'react';
  import PostForm from './postform.js'; 
  import PostList from './postlist'; 

  export default class App extends React.Component {
    constructor(props){
      super(props);
      this.state = {
          posts: this.props.posts
      } 
    }

    render() {
      return (
        <div>
          <PostForm />
          <PostList posts={this.state.posts}/>
        </div>
      );
    }
  }

```

Here is the file that is throwing the error: 

```
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import posts from './posts.json'

ReactDOM.render(<App posts={posts}/>, document.getElementById('root'));

```

Here is the posts.json file that seems to be throwing the error: 

```
[
    {"title": "My First Post", "author": "Jack"},
    {"title": "My Second Post", "author": "Will"},
    {"title": "My Third Post", "author": "Rick"}
]

```

Here is PostList: 

```
import React from 'react'; 
import Post from './post'; 

export default class PostList extends React.Component {
    constructor(props){
        super(props);
        this.state = {
            posts: this.props.posts
        } 
    }
    render(){
        const posts = this.state.posts.map((post, index) => {
            <Post {...post} key={index} />
        }); 
        return (
            {posts}
        ); 
    }
}

```

Any help/advice would be appreciated!