import { useRouter } from "next/router"; import { observer } from "mobx-react-lite"; // components import { IssueListView } from "components/issues/board-views/list"; import { IssueKanbanView } from "components/issues/board-views/kanban"; import { IssueCalendarView } from "components/issues/board-views/calendar"; import { IssueSpreadsheetView } from "components/issues/board-views/spreadsheet"; import { IssueGanttView } from "components/issues/board-views/gantt"; import { IssuePeekOverview } from "components/issues/peek-overview"; // mobx store import { RootStore } from "store/root"; import { useMobxStore } from "lib/mobx/store-provider"; export const ProjectDetailsView = () => { const router = useRouter(); const { workspace_slug } = router.query; const store: RootStore = useMobxStore(); const activeIssueId = store.issue.activePeekOverviewIssueId; return (