Skip to content

Commit

Permalink
#11 - fixed the posts layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jianmingtu committed Apr 15, 2021
1 parent ac77abd commit f5907b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion client/src/components/posts/Posts.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
main {
grid-area: main;
overflow-y: auto;
background-color: red;
}


Expand Down
10 changes: 3 additions & 7 deletions client/src/layouts/PostsPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,12 @@ export default function PostsPage() {
}

return (
<div>
{
!posts ?
<p>Loading ...</p>
:


<Posts
posts={posts}
cardClicked={cardClicked}
></Posts>
}
</div>

)
}

0 comments on commit f5907b9

Please sign in to comment.