Skip to content

Commit 6a05b74

Browse files
committed
fix: not use array index in array key
1 parent bb82c67 commit 6a05b74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/components/Popup/MiniGuides/PageContentsTemplate.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ const LeftContent: React.FC<{
7676
<LeftContentContainer>
7777
<Title>{title}</Title>
7878
<ParagraphsContainer>
79-
{paragraphs.map((paragraph, index) => (
80-
<StyledParagraph key={index}>{processNewLineInParagraph(paragraph)}</StyledParagraph>
79+
{paragraphs.map((paragraph) => (
80+
<StyledParagraph key={paragraph}>{processNewLineInParagraph(paragraph)}</StyledParagraph>
8181
))}
8282
</ParagraphsContainer>
8383
{links && links.length > 0 && toggleSubMiniGuide ? (

0 commit comments

Comments
 (0)