diff --git a/src/components/lib/date-utils.js b/src/components/lib/date-utils.js index de41297..37debf0 100644 --- a/src/components/lib/date-utils.js +++ b/src/components/lib/date-utils.js @@ -1,14 +1,12 @@ -import dayjs from 'dayjs' -import localeData from 'dayjs/plugin/localeData' -import minMax from 'dayjs/plugin/minMax' -import isSameOrBefore from 'dayjs/plugin/isSameOrBefore' -import isSameOrAfter from 'dayjs/plugin/isSameOrAfter' +import dayjs from 'dayjs'; +import localeData from 'dayjs/plugin/localeData'; +import minMax from 'dayjs/plugin/minMax'; +import isSameOrBefore from 'dayjs/plugin/isSameOrBefore'; +import isSameOrAfter from 'dayjs/plugin/isSameOrAfter'; -dayjs.extend(localeData) -dayjs.extend(minMax) -dayjs.extend(isSameOrBefore) -dayjs.extend(isSameOrAfter) +dayjs?.extend(localeData); +dayjs?.extend(minMax); +dayjs?.extend(isSameOrBefore); +dayjs?.extend(isSameOrAfter); -export { - dayjs -} +export { dayjs };