File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ const LeftContent: React.FC<{ currentPage: number }> = ({ currentPage }) => {
100
100
< Title > { title } </ Title >
101
101
< ParagraphsContainer >
102
102
{ paragraphs . map ( ( paragraph , index ) => (
103
- < label key = { index } > { paragraph } </ label >
103
+ < label key = { paragraph } > { paragraph } </ label >
104
104
) ) }
105
105
</ ParagraphsContainer >
106
106
</ LeftContentContainer >
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const extractGuideName = (linkText) => linkText.split(". ")[1];
54
54
55
55
const processNewLineInParagraph = ( paragraph : string ) => {
56
56
return paragraph . split ( "\n" ) . map ( ( text , index ) => (
57
- < React . Fragment key = { index } >
57
+ < React . Fragment key = { text } >
58
58
{ index > 0 && < br /> }
59
59
{ text }
60
60
</ React . Fragment >
You can’t perform that action at this time.
0 commit comments