From 51b9deb32af9288ab54d0875a5e63f1a8eeae233 Mon Sep 17 00:00:00 2001 From: Artur Z Date: Fri, 14 Oct 2022 09:55:23 +0200 Subject: [PATCH] fix(date-range-picker): unduplicate identifier (failing build) --- packages/components/date-range-picker/src/index.ts | 1 - packages/components/date-range-picker/src/utils.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/components/date-range-picker/src/index.ts b/packages/components/date-range-picker/src/index.ts index bdd000e70d..6a8c9c8a1a 100644 --- a/packages/components/date-range-picker/src/index.ts +++ b/packages/components/date-range-picker/src/index.ts @@ -4,5 +4,4 @@ export { default as MonthlyDateFilter } from './RangeFilter/Filters/MonthlyFilte export { RawDateRangePicker } from './RawDateRangePicker'; export * as utils from './utils'; export * as CONST from './constants'; -export * as utils from './utils'; export { default } from './DateRangePicker'; diff --git a/packages/components/date-range-picker/src/utils.ts b/packages/components/date-range-picker/src/utils.ts index d807b6f451..6442e23277 100644 --- a/packages/components/date-range-picker/src/utils.ts +++ b/packages/components/date-range-picker/src/utils.ts @@ -15,7 +15,6 @@ import { Texts } from './DateRangePicker.types'; export { START_OF, END_OF }; export const normalizeRange = (range: DateRange): DateRange => { - console.log('src/utils.tsx normalizeRange range keys', Object.keys(range || {}), range); if (!range || !range.type) { return { type: ABSOLUTE, from: undefined }; }