소스 검색

fix: Pie chart percent prop default value

wonderjar 7 년 전
부모
커밋
9ef3ce09d9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,
       height,
       forceFit = true,
-      percent = 0,
+      percent,
       color,
       inner = 0.75,
       animate = true,