import { FC } from "react"; import Link from "next/link"; import { useRouter } from "next/router"; import { observer } from "mobx-react-lite"; // hooks import { useMobxStore } from "lib/mobx/store-provider"; // ui import { Breadcrumbs, BreadcrumbItem } from "@plane/ui"; // helper import { truncateText } from "helpers/string.helper"; export const ProjectDraftIssueHeader: FC = observer(() => { const router = useRouter(); const { workspaceSlug, projectId } = router.query; const { project: projectStore } = useMobxStore(); const projectDetails = workspaceSlug && projectId ? projectStore.getProjectById(workspaceSlug.toString(), projectId.toString()) : undefined; return (
Projects
} />