From 9c8178d5f8f545ac7e7ef70b9dda5f46dc79ae8d Mon Sep 17 00:00:00 2001 From: "harold.vilander@gmail.com" Date: Tue, 1 Aug 2023 11:03:00 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20The=20consumer=20would=20?= =?UTF-8?q?get=20an=20error=20due=20to=20incorrect=20import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: #918 --- .gitignore | 3 +++ .../fields/SQFormDatePicker/SQFormDatePickerWithDateFNS.tsx | 2 +- .../fields/SQFormDatePicker/SQFormDateTimePicker.tsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c36ad931..1ef96308 100644 --- a/.gitignore +++ b/.gitignore @@ -110,3 +110,6 @@ dist # TS Declaration files .dts + +# MacOS Specific +.DS_Store diff --git a/src/components/fields/SQFormDatePicker/SQFormDatePickerWithDateFNS.tsx b/src/components/fields/SQFormDatePicker/SQFormDatePickerWithDateFNS.tsx index 0b4d7ead..b39eb35b 100644 --- a/src/components/fields/SQFormDatePicker/SQFormDatePickerWithDateFNS.tsx +++ b/src/components/fields/SQFormDatePicker/SQFormDatePickerWithDateFNS.tsx @@ -1,6 +1,6 @@ import React from 'react'; import {ClickAwayListener, Grid, TextField} from '@mui/material'; -import {DatePicker} from '@mui/x-date-pickers/DatePicker'; +import {DatePicker} from '@mui/x-date-pickers'; import {useForm} from '../../../hooks/useForm'; import type {BasePickerProps} from '@mui/x-date-pickers/internals'; import type {BaseDatePickerProps} from '@mui/x-date-pickers/DatePicker/shared'; diff --git a/src/components/fields/SQFormDatePicker/SQFormDateTimePicker.tsx b/src/components/fields/SQFormDatePicker/SQFormDateTimePicker.tsx index 7ff1f5fe..d71b61e7 100644 --- a/src/components/fields/SQFormDatePicker/SQFormDateTimePicker.tsx +++ b/src/components/fields/SQFormDatePicker/SQFormDateTimePicker.tsx @@ -1,6 +1,6 @@ import React from 'react'; import {ClickAwayListener, Grid, TextField} from '@mui/material'; -import {DateTimePicker} from '@mui/x-date-pickers/DateTimePicker'; +import {DateTimePicker} from '@mui/x-date-pickers'; import {useForm} from '../../../hooks/useForm'; import type {MarkOptional} from 'ts-essentials'; import type {Moment} from 'moment';