mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
21 lines
573 B
TypeScript
21 lines
573 B
TypeScript
import { ReactElement } from "react";
|
|
// components
|
|
import { ProjectViewsHeader } from "components/headers";
|
|
import { ProjectViewsList } from "components/views";
|
|
// layouts
|
|
import { AppLayout } from "layouts/app-layout";
|
|
// types
|
|
import { NextPageWithLayout } from "types/app";
|
|
|
|
const ProjectViewsPage: NextPageWithLayout = () => <ProjectViewsList />;
|
|
|
|
ProjectViewsPage.getLayout = function getLayout(page: ReactElement) {
|
|
return (
|
|
<AppLayout header={<ProjectViewsHeader />} withProjectWrapper>
|
|
{page}
|
|
</AppLayout>
|
|
);
|
|
};
|
|
|
|
export default ProjectViewsPage;
|