mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
25 lines
683 B
TypeScript
25 lines
683 B
TypeScript
import React from "react";
|
|
import { observer } from "mobx-react-lite";
|
|
import { useRouter } from "next/router";
|
|
// mobx store
|
|
import { EIssuesStoreType } from "@/constants/issue";
|
|
// components
|
|
import { ProjectIssueQuickActions } from "../../quick-action-dropdowns";
|
|
import { BaseSpreadsheetRoot } from "../base-spreadsheet-root";
|
|
// types
|
|
// constants
|
|
|
|
export const ProjectViewSpreadsheetLayout: React.FC = observer(() => {
|
|
// router
|
|
const router = useRouter();
|
|
const { viewId } = router.query;
|
|
|
|
return (
|
|
<BaseSpreadsheetRoot
|
|
QuickActions={ProjectIssueQuickActions}
|
|
viewId={viewId?.toString()}
|
|
storeType={EIssuesStoreType.PROJECT_VIEW}
|
|
/>
|
|
);
|
|
});
|