feat: fix extend

This commit is contained in:
Nevo David 2024-09-09 01:00:56 +07:00
parent b828035019
commit 59923fa410
1 changed files with 5 additions and 0 deletions

View File

@ -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(),