1
0
Fork 0

Fix spacing

This commit is contained in:
Amarpreet Minhas 2019-07-23 20:39:53 -04:00
parent 5b9e98600f
commit 49e4015c17
2 changed files with 11 additions and 11 deletions

View file

@ -11,16 +11,17 @@ class Post extends React.Component {
}
render () {
return (
<div className="item" key="{post.id}">
<div className="content">
<div className="description">
<h1><b><u><Link to={"/posts/"}>""</Link></u></b></h1>
<ReactMarkdown source="{post.content}" />
</div>
</div>
</div>
);
console.log(this.props.posts)
return (
<div className="item" key="{post.id}">
<div className="content">
<div className="description">
<h1><b><u><Link to={"/posts/"}>""</Link></u></b></h1>
<ReactMarkdown source="{post.content}" />
</div>
</div>
</div>
);
}
}

View file

@ -25,7 +25,6 @@ class PostList extends React.Component {
render () {
console.log(this.props.posts)
return (
<div className="ui relaxed divided list">
{this.renderList()}