Skip to content

Commit

Permalink
Removed unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SebasQuirogaUCP committed Aug 1, 2023
1 parent e9478ab commit 4c996bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion packages/axes/src/components/AxisTick.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const AxisTick = <Value extends ScaleValue>({
onClick,
textBaseline,
textAnchor,
truncateTickAt,
animatedProps,
}: AxisTickProps<Value>) => {
const theme = useTheme()
Expand Down
9 changes: 1 addition & 8 deletions packages/axes/src/compute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <T>(value: unknown): value is T[] => Array.isArray(value)
Expand Down

0 comments on commit 4c996bf

Please sign in to comment.