"use client"; import { observer } from "mobx-react"; import { useParams, useRouter } from "next/navigation"; import { X, PenSquare } from "lucide-react"; // components import { PageHead } from "@/components/core"; import { DraftIssueLayoutRoot } from "@/components/issues/issue-layouts/roots/draft-issue-layout-root"; // hooks import { useProject } from "@/hooks/store"; const ProjectDraftIssuesPage = observer(() => { const router = useRouter(); const { workspaceSlug, projectId } = useParams(); // store const { getProjectById } = useProject(); // derived values const project = projectId ? getProjectById(projectId.toString()) : undefined; const pageTitle = project?.name ? `${project?.name} - Draft Issues` : undefined; return ( <>
); }); export default ProjectDraftIssuesPage;