Fix collections not shown on profile when there are no featured tags or accounts (#38113)

This commit is contained in:
diondiondion
2026-03-10 11:02:03 +01:00
committed by GitHub
parent b64bed5acd
commit 7d58ce309c

View File

@@ -103,7 +103,11 @@ const AccountFeatured: React.FC<{ multiColumn: boolean }> = ({
);
}
if (featuredTags.isEmpty() && featuredAccountIds.isEmpty()) {
if (
featuredTags.isEmpty() &&
featuredAccountIds.isEmpty() &&
listedCollections.length === 0
) {
return (
<AccountFeaturedWrapper accountId={accountId}>
<EmptyMessage