feat: fix extend
This commit is contained in:
parent
b828035019
commit
59923fa410
|
|
@ -17,6 +17,11 @@ import { useFetch } from '@gitroom/helpers/utils/custom.fetch';
|
|||
import { Post, Integration } from '@prisma/client';
|
||||
import { useRouter, useSearchParams } from 'next/navigation';
|
||||
import { isGeneral } from '@gitroom/react/helpers/is.general';
|
||||
import isoWeek from 'dayjs/plugin/isoWeek';
|
||||
import weekOfYear from 'dayjs/plugin/weekOfYear';
|
||||
|
||||
dayjs.extend(isoWeek);
|
||||
dayjs.extend(weekOfYear);
|
||||
|
||||
const CalendarContext = createContext({
|
||||
currentWeek: dayjs().week(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue