Fixed missing unique key prop

This commit is contained in:
Andy Lee 2023-05-07 01:05:06 +02:00
parent ae88ac6362
commit b3db4dd660
1 changed files with 1 additions and 0 deletions

View File

@ -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}