FastFoldFollowing: check if followedFoldIds is defined

This commit is contained in:
mantikoros 2022-02-19 17:26:49 -06:00
parent 2c572dd89a
commit 60f72fa6ab

View File

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