Skip to content

Commit

Permalink
Removed unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SebasQuirogaUCP authored and plouc committed Nov 14, 2023
1 parent a016564 commit abf9178
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

Check warning on line 3 in packages/axes/src/compute.ts

View workflow job for this annotation

GitHub Actions / build

Do not use "@ts-ignore" because it alters compilation errors
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

1 comment on commit abf9178

@vercel
Copy link

@vercel vercel bot commented on abf9178 Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nivo – ./

nivo-git-master-plouc.vercel.app
nivo-plouc.vercel.app
nivo.vercel.app
www.nivo.rocks
nivo.rocks

Please sign in to comment.