Skip to content

Commit 679c698

Browse files
committed
fix(nav): Resolve build warnings
1 parent e4e84a9 commit 679c698

File tree

2 files changed

+573
-306
lines changed

2 files changed

+573
-306
lines changed

packages/module/src/MultiContentCard/MultiContentCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const MultiContentCard: React.FunctionComponent<MultiContentCardProps> = ({
7777
const renderCards = (cards: (React.ReactElement | MutliContentCardProps)[], withDividers?: boolean) => (
7878
<Flex alignSelf={{ default: 'alignSelfStretch' }} alignItems={{ default: 'alignItemsStretch' }}>
7979
{cards.map((card, index) => (
80-
<>
80+
<div key={`card-${index}`}>
8181
{index > 0 && isCardWithProps(card) && card.dividerVariant === MultiContentCardDividerVariant.left && (
8282
<Divider
8383
orientation={{ md: 'vertical' }}
@@ -93,7 +93,7 @@ const MultiContentCard: React.FunctionComponent<MultiContentCardProps> = ({
9393
inset={{ default: 'inset3xl' }}
9494
/>
9595
)}
96-
</>
96+
</div>
9797
))}
9898
</Flex>
9999
);

0 commit comments

Comments
 (0)