import { FC, useState } from "react"; import { observer } from "mobx-react-lite"; import { useRouter } from "next/router"; import { Plus } from "lucide-react"; // hooks // ui import { Breadcrumbs, Button, LayersIcon } from "@plane/ui"; // components import { BreadcrumbLink } from "@/components/common"; import { CreateInboxIssueModal } from "@/components/inbox"; // helper import { ProjectLogo } from "@/components/project"; import { useProject } from "@/hooks/store"; export const ProjectInboxHeader: FC = observer(() => { // states const [createIssueModal, setCreateIssueModal] = useState(false); // router const router = useRouter(); const { workspaceSlug } = router.query; // store hooks const { currentProjectDetails } = useProject(); return (
) } /> } /> } /> } />
{currentProjectDetails?.inbox_view && (
setCreateIssueModal(false)} />
)}
); });