mirror of
https://github.com/status-im/react-native-gifted-charts.git
synced 2025-02-22 08:38:07 +00:00
Merge pull request #316 from AndyLeezard/fix_missing_unique_key_prop
Fix missing unique key prop
This commit is contained in:
commit
1d45bc3d65
@ -410,6 +410,7 @@ export const PieChartMain = (props: propTypes) => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<SvgText
|
<SvgText
|
||||||
|
key={index + 'c'}
|
||||||
fill={item.textColor || textColor || colors[(index + 2) % 9]}
|
fill={item.textColor || textColor || colors[(index + 2) % 9]}
|
||||||
fontSize={item.textSize || textSize}
|
fontSize={item.textSize || textSize}
|
||||||
fontFamily={item.font || props.font}
|
fontFamily={item.font || props.font}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user