FastFoldFollowing: check if user defined

This commit is contained in:
mantikoros 2022-02-19 17:23:03 -06:00
parent 13727bb19f
commit 2c572dd89a

View File

@ -115,7 +115,7 @@ const Home = (props: {
<FeedCreate user={user ?? undefined} />
<Spacer h={6} />
{followedFolds.length === 0 && (
{!!user && followedFolds.length === 0 && (
<FastFoldFollowing
user={user}
followedFoldSlugs={followedFolds.map((f) => f.slug)}