forked from github/plane
26 lines
674 B
TypeScript
26 lines
674 B
TypeScript
import React from "react";
|
|
import { observer } from "mobx-react-lite";
|
|
import { useRouter } from "next/router";
|
|
// hooks
|
|
import { EIssuesStoreType } from "@/constants/issue";
|
|
// constant
|
|
// types
|
|
import { ProjectIssueQuickActions } from "../../quick-action-dropdowns";
|
|
// components
|
|
import { BaseKanBanRoot } from "../base-kanban-root";
|
|
|
|
export const ProjectViewKanBanLayout: React.FC = observer(() => {
|
|
// router
|
|
const router = useRouter();
|
|
const { viewId } = router.query;
|
|
|
|
return (
|
|
<BaseKanBanRoot
|
|
showLoader
|
|
QuickActions={ProjectIssueQuickActions}
|
|
storeType={EIssuesStoreType.PROJECT_VIEW}
|
|
viewId={viewId?.toString()}
|
|
/>
|
|
);
|
|
});
|