1- import dayjs , { type Dayjs } from "dayjs"
2- import weekOfYear from "dayjs/plugin/weekOfYear"
3- import weekYear from "dayjs/plugin/weekYear"
4- import localeData from "dayjs/plugin/localeData"
5- import utc from "dayjs/plugin/utc"
1+ import dayjs , { type Dayjs } from "dayjs/esm "
2+ import weekOfYear from "dayjs/esm/ plugin/weekOfYear"
3+ import weekYear from "dayjs/esm/ plugin/weekYear"
4+ import localeData from "dayjs/esm/ plugin/localeData"
5+ import utc from "dayjs/esm/ plugin/utc"
66dayjs . extend ( weekOfYear )
77dayjs . extend ( weekYear )
88dayjs . extend ( localeData )
@@ -11,11 +11,11 @@ import type React from "react"
1111import { Fragment , type RefObject , useCallback , useRef , useState } from "react"
1212
1313// if more locales then english and germans are needed, we need to enable them first here
14- import "dayjs/locale/de"
15- //import "dayjs/locale/es"
16- //import "dayjs/locale/fr"
17- //import "dayjs/locale/it"
18- //import "dayjs/locale/nl"
14+ import "dayjs/esm/ locale/de"
15+ //import "dayjs/esm/ locale/es"
16+ //import "dayjs/esm/ locale/fr"
17+ //import "dayjs/esm/ locale/it"
18+ //import "dayjs/esm/ locale/nl"
1919
2020import type {
2121 TimeSlotBooking ,
0 commit comments