Fixed missing unique key prop
This commit is contained in:
parent
ae88ac6362
commit
b3db4dd660
|
@ -408,6 +408,7 @@ export const PieChartMain = (props: propTypes) => {
|
|||
/>
|
||||
)}
|
||||
<SvgText
|
||||
key={index + 'c'}
|
||||
fill={item.textColor || textColor || colors[(index + 2) % 9]}
|
||||
fontSize={item.textSize || textSize}
|
||||
fontFamily={item.font || props.font}
|
||||
|
|
Loading…
Reference in New Issue