🐛 Fix crash in week view (#549)

This commit is contained in:
Jonas Höbenreich 2023-03-10 22:07:01 +01:00 committed by GitHub
parent 58fa0cb10d
commit 1d31a42bb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;