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>} : <Placeholder><Placeholder.Line length="medium" /></Placeholder>}
</Feed.Summary> </Feed.Summary>
<Feed.Extra> <Feed.Extra>
{postContent} {postContent !== null
? postContent
: <Placeholder><Placeholder.Line length="long" /></Placeholder>}
</Feed.Extra> </Feed.Extra>
</Feed.Content> </Feed.Content>
</Dimmer.Dimmable> </Dimmer.Dimmable>

Loading…
Cancel
Save