From b874d1d842c6c4977cf933d46ec176ddbe283be8 Mon Sep 17 00:00:00 2001 From: Rafal Dziegielewski Date: Tue, 27 Feb 2024 22:13:13 +0100 Subject: [PATCH] fix: fix how parseISO is imported from date-fns --- src/molecules/date-picker/useDatePicker.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/molecules/date-picker/useDatePicker.ts b/src/molecules/date-picker/useDatePicker.ts index 344d515..8be7a42 100644 --- a/src/molecules/date-picker/useDatePicker.ts +++ b/src/molecules/date-picker/useDatePicker.ts @@ -1,5 +1,6 @@ import { useState } from 'react' -import parseISO from 'date-fns/parseISO' + +import parseISO from 'date-fns/parseISO/index.js' import { formatDateProperty, PropertyType } from '../../utils/index.js'