From 4c996bf08da6733363cca26560fc6331518f2bc8 Mon Sep 17 00:00:00 2001 From: Sebastian Quiroga Date: Tue, 1 Aug 2023 11:06:21 -0500 Subject: [PATCH] Removed unnecessary imports --- packages/axes/src/components/AxisTick.tsx | 1 - packages/axes/src/compute.ts | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/axes/src/components/AxisTick.tsx b/packages/axes/src/components/AxisTick.tsx index e6bd6ce11..bbd887d24 100644 --- a/packages/axes/src/components/AxisTick.tsx +++ b/packages/axes/src/components/AxisTick.tsx @@ -13,7 +13,6 @@ const AxisTick = ({ onClick, textBaseline, textAnchor, - truncateTickAt, animatedProps, }: AxisTickProps) => { const theme = useTheme() diff --git a/packages/axes/src/compute.ts b/packages/axes/src/compute.ts index 44c6e9caa..2a01e9693 100644 --- a/packages/axes/src/compute.ts +++ b/packages/axes/src/compute.ts @@ -2,14 +2,7 @@ import { timeFormat } from 'd3-time-format' import { format as d3Format } from 'd3-format' // @ts-ignore import { textPropsByEngine } from '@nivo/core' -import { - ScaleValue, - AnyScale, - TicksSpec, - getScaleTicks, - centerScale, - StringValue, -} from '@nivo/scales' +import { ScaleValue, AnyScale, TicksSpec, getScaleTicks, centerScale } from '@nivo/scales' import { Point, ValueFormatter, Line } from './types' const isArray = (value: unknown): value is T[] => Array.isArray(value)