client: remove extra message on 'mine' page

This commit is contained in:
Max Leiter 2022-03-24 18:09:37 -07:00
parent 951088bacf
commit 21332a7d1e
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA

View file

@ -93,7 +93,6 @@ const PostList = ({ morePosts, initialPosts, error }: Props) => {
</li>
</ul>}
{posts?.length === 0 && !error && <Text type='secondary'>No posts found.Create one <NextLink passHref={true} href="/new"><Link color>here</Link></NextLink>.</Text>}
{posts?.length === 0 && <Text>No posts returned. Create one <NextLink passHref={true} href="/new"><Link color>here</Link></NextLink>.</Text>}
{
posts?.length > 0 && <div>
<ul>