Fixed issue with empty featured group in FeaturedGroupsInjection
• Fixed: - issue with empty featured group in FeaturedGroupsInjection • Added: - missing key in loop in FeaturedGroupsInjection render
This commit is contained in:
@@ -37,13 +37,12 @@ class FeaturedGroupsInjection extends ImmutablePureComponent {
|
||||
isXS={isXS}
|
||||
>
|
||||
{
|
||||
groupIds.map((groupId) => (
|
||||
<div className={[_s.d, _s.w300PX].join(' ')}>
|
||||
<GroupCollectionItem
|
||||
isAddable
|
||||
id={groupId}
|
||||
/>
|
||||
</div>
|
||||
groupIds.map((groupId, i) => (
|
||||
<GroupCollectionItem
|
||||
isAddable
|
||||
id={groupId}
|
||||
key={`featured-group-${i}-${groupId}`}
|
||||
/>
|
||||
))
|
||||
}
|
||||
</TimelineInjectionLayout>
|
||||
|
||||
Reference in New Issue
Block a user