Browse Source

Add placeholder for post content

develop
Apostolos Fanakis 4 years ago
parent
commit
6c88f552ec
  1. 4
      packages/concordia-app/src/components/PostList/PostListRow/index.jsx

4
packages/concordia-app/src/components/PostList/PostListRow/index.jsx

@ -140,7 +140,9 @@ const PostListRow = (props) => {
: <Placeholder><Placeholder.Line length="medium" /></Placeholder>}
</Feed.Summary>
<Feed.Extra>
{postContent}
{postContent !== null
? postContent
: <Placeholder><Placeholder.Line length="long" /></Placeholder>}
</Feed.Extra>
</Feed.Content>
</Dimmer.Dimmable>

Loading…
Cancel
Save