From 69209ecd17bfce48e69b31e2380a134ddeda55f8 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Sat, 6 Aug 2022 14:39:31 -0600 Subject: [PATCH] fix: types --- src/utils/buildAxis.linear.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/utils/buildAxis.linear.ts b/src/utils/buildAxis.linear.ts index 7692d97f..e358dcea 100644 --- a/src/utils/buildAxis.linear.ts +++ b/src/utils/buildAxis.linear.ts @@ -17,7 +17,6 @@ import { timeHour, timeDay, timeMonth, - timeWeek, timeYear, } from 'd3-time' @@ -146,16 +145,6 @@ function buildTimeAxis( // 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) {