Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Aug 6, 2022
1 parent 84c26b1 commit 69209ec
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/utils/buildAxis.linear.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
timeHour,
timeDay,
timeMonth,
timeWeek,
timeYear,
} from 'd3-time'

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

const unitScale = [
'millisecond',
'second',
'minute',
'hour',
'day',
'month',
'year',
] as const

let autoFormatStr: string

if (minValue && maxValue) {
Expand Down

0 comments on commit 69209ec

Please sign in to comment.