Fix repeating Blog Posts
This commit is contained in:
parent
6d2cdc44a8
commit
e6ef0b1dae
1 changed files with 5 additions and 3 deletions
|
@ -17,7 +17,6 @@ class PostList extends React.Component {
|
|||
const post = posts.entities[id]
|
||||
return (
|
||||
<div className="item" key={post.id}>
|
||||
<h1>Blog Posts</h1>
|
||||
<div className="content">
|
||||
<div className="description">
|
||||
<h2><b><u><Link to={"/posts/" + post.slug}>{post.title}</Link></u></b></h2>
|
||||
|
@ -36,8 +35,11 @@ class PostList extends React.Component {
|
|||
|
||||
render () {
|
||||
return (
|
||||
<div className="ui relaxed divided list">
|
||||
{this.renderList()}
|
||||
<div>
|
||||
<h1>Blog Posts</h1>
|
||||
<div className="ui relaxed divided list">
|
||||
{this.renderList()}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Reference in a new issue