import { FC, useState } from "react"; import Link from "next/link"; import { useRouter } from "next/router"; import { observer } from "mobx-react-lite"; import { Plus } from "lucide-react"; // hooks import { useMobxStore } from "lib/mobx/store-provider"; // ui import { Breadcrumbs, BreadcrumbItem, Button } from "@plane/ui"; // components import { CreateInboxIssueModal } from "components/inbox"; // helper import { truncateText } from "helpers/string.helper"; export const ProjectInboxHeader: FC = observer(() => { const router = useRouter(); const { workspaceSlug, projectId } = router.query; const [createIssueModal, setCreateIssueModal] = useState(false); const { project: projectStore } = useMobxStore(); const projectDetails = workspaceSlug && projectId ? projectStore.getProjectById(workspaceSlug.toString(), projectId.toString()) : undefined; return (
router.back()}>

Projects

} />
setCreateIssueModal(false)} />
); });