From 402992a7200edb9bbc6f5bc7813b564f66dc189a Mon Sep 17 00:00:00 2001 From: tony chen Date: Fri, 10 May 2024 13:57:36 +0800 Subject: [PATCH] fix: remove useless code fixd by RNSVG Signed-off-by: tony chen --- .../__snapshots__/chart.test.tsx.snap | 58 ------------------- src/svgChart.tsx | 4 -- 2 files changed, 62 deletions(-) diff --git a/src/__tests__/__snapshots__/chart.test.tsx.snap b/src/__tests__/__snapshots__/chart.test.tsx.snap index df9518de..5dba933f 100644 --- a/src/__tests__/__snapshots__/chart.test.tsx.snap +++ b/src/__tests__/__snapshots__/chart.test.tsx.snap @@ -1067,7 +1067,6 @@ exports[`SvgChart Chart fire dispatchEventsToZRender correctly 3`] = ` [ "fill", "stroke", - "strokeWidth", ] } stroke={ @@ -1076,7 +1075,6 @@ exports[`SvgChart Chart fire dispatchEventsToZRender correctly 3`] = ` "type": 0, } } - strokeWidth={1} /> @@ -2600,7 +2560,6 @@ exports[`SvgChart Chart renders correctly when handleGesture false 2`] = ` [ "fill", "stroke", - "strokeWidth", ] } stroke={ @@ -2609,7 +2568,6 @@ exports[`SvgChart Chart renders correctly when handleGesture false 2`] = ` "type": 0, } } - strokeWidth={1} /> ; } if (tag === 'linearGradient' || tag === 'radialGradient') {