File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
packages/TermsAndConditions Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,9 @@ const TermsAndConditions = forwardRef(
121
121
< FlexGrid . Row >
122
122
< FlexGrid . Col xs = { 12 } mdOffset = { 1 } md = { 10 } >
123
123
< List size = "small" below = { 4 } type = "indexed" >
124
- { indexedContent . map ( c => (
125
- < List . Item key = { c } > { renderContent ( c ) } </ List . Item >
124
+ { indexedContent . map ( ( c , idx ) => (
125
+ // eslint-disable-next-line react/no-array-index-key
126
+ < List . Item key = { idx } > { renderContent ( c ) } </ List . Item >
126
127
) ) }
127
128
</ List >
128
129
</ FlexGrid . Col >
@@ -142,8 +143,9 @@ const TermsAndConditions = forwardRef(
142
143
</ div >
143
144
) }
144
145
< List size = "small" below = { 4 } type = "nonIndexed" >
145
- { nonIndexedContent . map ( c => (
146
- < List . Item key = { c } > { renderContent ( c ) } </ List . Item >
146
+ { nonIndexedContent . map ( ( c , idx ) => (
147
+ // eslint-disable-next-line react/no-array-index-key
148
+ < List . Item key = { idx } > { renderContent ( c ) } </ List . Item >
147
149
) ) }
148
150
</ List >
149
151
</ Box >
You can’t perform that action at this time.
0 commit comments