Parcourir la source

fix: Pie chart percent prop default value

wonderjar il y a 7 ans
Parent
commit
9ef3ce09d9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/Charts/Pie/index.js

+ 1 - 1
src/components/Charts/Pie/index.js

@@ -127,7 +127,7 @@ class Pie extends Component {
       style,
       style,
       height,
       height,
       forceFit = true,
       forceFit = true,
-      percent = 0,
+      percent,
       color,
       color,
       inner = 0.75,
       inner = 0.75,
       animate = true,
       animate = true,