From a99551f2d9dfa371f695ac53743e3dd644b4ccc2 Mon Sep 17 00:00:00 2001 From: Mark McDowell Date: Tue, 10 Sep 2019 16:09:57 +0100 Subject: [PATCH] fix: correcting types from ChartCanvas The defaultProps was causing d3-array to be brought into types. --- packages/charts/src/ChartCanvas.tsx | 4 ++-- packages/charts/src/coordinates/EdgeCoordinate.tsx | 4 ++-- packages/charts/src/coordinates/EdgeCoordinateV2.tsx | 4 ++-- packages/charts/src/coordinates/EdgeCoordinateV3.tsx | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/charts/src/ChartCanvas.tsx b/packages/charts/src/ChartCanvas.tsx index fea8fdca0..5bf4c402a 100644 --- a/packages/charts/src/ChartCanvas.tsx +++ b/packages/charts/src/ChartCanvas.tsx @@ -356,9 +356,9 @@ export class ChartCanvas extends React.Component { coordinateBase = edge.orient === "left" || edge.orient === "right" ? - - : - - :