diff --git a/package.json b/package.json
index 06baa1d..a1dd540 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-gifted-charts",
- "version": "1.2.0",
+ "version": "1.2.1",
"description": "The most complete library for Bar, Line, Area, Pie, Donut and Stacked Bar charts in React Native. Allows 2D, 3D, gradient, animations and live data updates.",
"main": "src/index.tsx",
"files": [
diff --git a/src/PieChart/index.tsx b/src/PieChart/index.tsx
index 97f66d8..e2f935a 100644
--- a/src/PieChart/index.tsx
+++ b/src/PieChart/index.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import {ColorValue, View} from 'react-native';
-import Svg, {Path, Circle, Text as SvgText, FontStyle, Line} from 'react-native-svg';
+import Svg, {Path, Circle, Text as SvgText, FontStyle} from 'react-native-svg';
type propTypes = {
radius?: number;
@@ -226,7 +226,6 @@ export const PieChart = (props: propTypes) => {
{showText &&
data.map((item, index) => {
- console.log('index', index);
let mx = cx * (1 + Math.sin(2 * pi * mData[index] + initialAngle));
let my = cy * (1 - Math.cos(2 * pi * mData[index] + initialAngle));
@@ -259,7 +258,7 @@ export const PieChart = (props: propTypes) => {
// console.log('ay', ay);
return (
<>
-
+ {/* */}
{showTextBackground && (