mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-16 09:31:50 +02:00
🐛 Fix crash in week view (#549)
This commit is contained in:
parent
58fa0cb10d
commit
1d31a42bb9
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
import dayjs from "dayjs";
|
||||
import duration from "dayjs/plugin/duration";
|
||||
import isBetween from "dayjs/plugin/isBetween";
|
||||
import isSameOrAfter from "dayjs/plugin/isSameOrAfter";
|
||||
import isSameOrBefore from "dayjs/plugin/isSameOrBefore";
|
||||
import localeData from "dayjs/plugin/localeData";
|
||||
import localizedFormat from "dayjs/plugin/localizedFormat";
|
||||
|
@ -136,6 +137,7 @@ dayjs.extend(minMax);
|
|||
dayjs.extend(utc);
|
||||
dayjs.extend(timezone);
|
||||
dayjs.extend(duration);
|
||||
dayjs.extend(isSameOrAfter);
|
||||
|
||||
const DayjsContext = React.createContext<{
|
||||
dayjs: (date?: dayjs.ConfigType) => dayjs.Dayjs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue