Fix template issues of some sidebar components

This commit is contained in:
riggraz
2019-10-16 20:24:42 +02:00
parent 27b9659886
commit c96073e4f8
4 changed files with 6 additions and 6 deletions

View File

@@ -20,11 +20,11 @@ const PostUpdateList = ({
error,
}: Props) => (
<div className="postUpdateListContainer">
<TitleText>Post updates:</TitleText>
<TitleText>Post updates</TitleText>
{ areLoading ? <Spinner /> : null }
{ error ? <DangerText>{error}</DangerText> : null }
<div className="postUpdateList">
{ postUpdates.length === 0 ? <CenteredMutedText>There are not post updates yet.</CenteredMutedText> : null }
{ postUpdates.length === 0 ? <CenteredMutedText>There are no post updates yet.</CenteredMutedText> : null }
{
postUpdates.map((postUpdate, i) => (
<div className="postUpdateListItem" key={i}>