import React from "react"; import { observer } from "mobx-react-lite"; import { useRouter } from "next/router"; // hooks import { EIssuesStoreType } from "constants/issue"; import { useIssues } from "hooks/store"; // constant // types import { TIssue } from "@plane/types"; import { ProjectIssueQuickActions } from "../../quick-action-dropdowns"; import { EIssueActions } from "../../types"; // components import { BaseKanBanRoot } from "../base-kanban-root"; export interface IViewKanBanLayout { issueActions: { [EIssueActions.DELETE]: (issue: TIssue) => Promise; [EIssueActions.UPDATE]?: (issue: TIssue) => Promise; [EIssueActions.REMOVE]?: (issue: TIssue) => Promise; [EIssueActions.ARCHIVE]?: (issue: TIssue) => Promise; }; } export const ProjectViewKanBanLayout: React.FC = observer((props) => { const { issueActions } = props; // router const router = useRouter(); const { viewId } = router.query; const { issues, issuesFilter } = useIssues(EIssuesStoreType.PROJECT_VIEW); return ( ); });