Commit 4a2fe1f 1 parent f3e3b04 commit 4a2fe1f Copy full SHA for 4a2fe1f
File tree 2 files changed +3
-2
lines changed
src/components/widgets/TrainingMonitor/components
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -433,7 +433,7 @@ class MeasureChart extends React.Component {
433
433
const badgeIndex = index % 8 ;
434
434
435
435
return (
436
- < h3 >
436
+ < h3 key = { `badge- ${ badgeIndex } ` } >
437
437
< i className = { `fa fa-circle chart-badge-${ badgeIndex } ` } />
438
438
{ displayedValue } { " " }
439
439
{ this . props . showMinValue && minValue && minValue !== '--' ? (
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ class TableItem extends React.Component {
119
119
const badgeIndex = index % 8 ;
120
120
121
121
return (
122
- < h4 >
122
+ < h4 key = { `badge- ${ badgeIndex } ` } >
123
123
< i className = { `fa fa-circle chart-badge-${ badgeIndex } ` } />
124
124
{ value }
125
125
{ bestValue ? bestValue : null }
@@ -152,6 +152,7 @@ class TableItem extends React.Component {
152
152
153
153
return (
154
154
< Sparklines
155
+ key = { `sparkline-${ index } ` }
155
156
data = { sparkData }
156
157
min = { Math . floor ( Math . min ( ...sparkData ) ) }
157
158
max = { Math . ceil ( Math . max ( ...sparkData ) ) }
You can’t perform that action at this time.
0 commit comments