Skip to content

Commit 69209ec

Browse files
committed
fix: types
1 parent 84c26b1 commit 69209ec

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/utils/buildAxis.linear.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
timeHour,
1818
timeDay,
1919
timeMonth,
20-
timeWeek,
2120
timeYear,
2221
} from 'd3-time'
2322

@@ -146,16 +145,6 @@ function buildTimeAxis<TDatum>(
146145
// any of the time units OR if the max date resides in a different
147146
// unit boundary than today's, we use that unit as context.
148147

149-
const unitScale = [
150-
'millisecond',
151-
'second',
152-
'minute',
153-
'hour',
154-
'day',
155-
'month',
156-
'year',
157-
] as const
158-
159148
let autoFormatStr: string
160149

161150
if (minValue && maxValue) {

0 commit comments

Comments
 (0)