mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
21 lines
604 B
TypeScript
21 lines
604 B
TypeScript
import { ReactElement } from "react";
|
|
import { useRouter } from "next/router";
|
|
// layouts
|
|
import { AppLayout } from "layouts/app-layout";
|
|
// types
|
|
import { NextPageWithLayout } from "lib/types";
|
|
|
|
const ProjectPrivateViewPage: NextPageWithLayout = () => {
|
|
const router = useRouter();
|
|
const { workspaceSlug, projectId, viewId } = router.query;
|
|
|
|
if (!workspaceSlug || !projectId || !viewId) return <></>;
|
|
return <div />;
|
|
};
|
|
|
|
ProjectPrivateViewPage.getLayout = function getLayout(page: ReactElement) {
|
|
return <AppLayout header={<></>}>{page}</AppLayout>;
|
|
};
|
|
|
|
export default ProjectPrivateViewPage;
|