FastFoldFollowing: check if followedFoldIds is defined
This commit is contained in:
parent
2c572dd89a
commit
60f72fa6ab
|
@ -115,7 +115,7 @@ const Home = (props: {
|
||||||
<FeedCreate user={user ?? undefined} />
|
<FeedCreate user={user ?? undefined} />
|
||||||
<Spacer h={6} />
|
<Spacer h={6} />
|
||||||
|
|
||||||
{!!user && followedFolds.length === 0 && (
|
{followedFoldIds !== undefined && followedFolds.length === 0 && (
|
||||||
<FastFoldFollowing
|
<FastFoldFollowing
|
||||||
user={user}
|
user={user}
|
||||||
followedFoldSlugs={followedFolds.map((f) => f.slug)}
|
followedFoldSlugs={followedFolds.map((f) => f.slug)}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user