diff --git a/apps/web/app/[locale]/[...not-found]/page.tsx b/apps/web/app/[locale]/404.tsx similarity index 100% rename from apps/web/app/[locale]/[...not-found]/page.tsx rename to apps/web/app/[locale]/404.tsx diff --git a/apps/web/app/[locale]/kanban/page.tsx b/apps/web/app/[locale]/kanban/page.tsx index 4c8bafc48..0310c07e5 100644 --- a/apps/web/app/[locale]/kanban/page.tsx +++ b/apps/web/app/[locale]/kanban/page.tsx @@ -1,7 +1,7 @@ 'use client'; import { KanbanTabs } from '@app/constants'; -import { useOrganizationTeams } from '@app/hooks'; +import { useAuthenticateUser, useModal, useOrganizationTeams } from '@app/hooks'; import { useKanban } from '@app/hooks/features/useKanban'; import KanbanBoardSkeleton from '@components/shared/skeleton/KanbanBoardSkeleton'; import { withAuthentication } from 'lib/app/authenticator'; @@ -17,9 +17,12 @@ import { clsxm } from '@app/utils'; import HeaderTabs from '@components/pages/main/header-tabs'; import { AddIcon, SearchNormalIcon, SettingFilterIcon, PeoplesIcon } from 'assets/svg'; import { Select, SelectContent, SelectItem, SelectTrigger } from '@components/ui/select'; +import { InviteFormModal } from 'lib/features/team/invite/invite-form-modal'; +import { userTimezone } from '@app/helpers'; const Kanban = () => { const { data } = useKanban(); + const { activeTeam } = useOrganizationTeams(); const t = useTranslations(); const params = useParams<{ locale: string }>(); @@ -47,6 +50,9 @@ const Kanban = () => { { name: t('common.YESTERDAY'), value: KanbanTabs.YESTERDAY }, { name: t('common.TOMORROW'), value: KanbanTabs.TOMORROW } ]; + const { user } = useAuthenticateUser(); + const { openModal, isOpen, closeModal } = useModal(); + const timezone = userTimezone(); return ( <> @@ -67,7 +73,10 @@ const Kanban = () => { {t('common.KANBAN')} {t('common.BOARD')}