Improve style pt. 1

This commit is contained in:
riggraz
2019-09-19 16:42:43 +02:00
parent 2b1fc213db
commit 409cdeef8a
19 changed files with 157 additions and 62 deletions

View File

@@ -6,7 +6,7 @@ import PostListItem from './PostListItem';
import Spinner from '../shared/Spinner';
import {
DangerText,
MutedText,
CenteredMutedText,
} from '../shared/CustomTexts';
import IPost from '../../interfaces/IPost';
@@ -55,10 +55,7 @@ const PostList = ({
/>
))
:
areLoading ?
<MutedText>Loading...</MutedText>
:
<MutedText>There are no posts.</MutedText>
areLoading ? <p></p> : <CenteredMutedText>There are no posts.</CenteredMutedText>
}
</InfiniteScroll>
</div>