import { useRouter } from "next/router"; import Link from "next/link"; import useSWR from "swr"; // services import { ProjectService } from "services/project"; // layouts import { ProjectAuthorizationWrapper } from "layouts/auth-layout-legacy"; // contexts import { IssueViewContextProvider } from "contexts/issue-view.context"; // helper import { truncateText } from "helpers/string.helper"; // components import { IssuesFilterView, IssuesView } from "components/core"; // ui import { BreadcrumbItem, Breadcrumbs } from "@plane/ui"; // icons import { X, PenSquare } from "lucide-react"; // types import type { NextPage } from "next"; // fetch-keys import { PROJECT_DETAILS } from "constants/fetch-keys"; // services const projectService = new ProjectService(); const ProjectDraftIssues: NextPage = () => { const router = useRouter(); const { workspaceSlug, projectId } = router.query; const { data: projectDetails } = useSWR( workspaceSlug && projectId ? PROJECT_DETAILS(projectId as string) : null, workspaceSlug && projectId ? () => projectService.getProject(workspaceSlug as string, projectId as string) : null ); return ( router.back()}>

Projects

} /> } right={
} >
); }; export default ProjectDraftIssues;