import { FC } from "react"; import { observer } from "mobx-react"; import { useRouter } from "next/router"; // hooks import { PanelRight } from "lucide-react"; import { Breadcrumbs, LayersIcon } from "@plane/ui"; import { BreadcrumbLink } from "@/components/common"; import { ProjectLogo } from "@/components/project"; import { cn } from "@/helpers/common.helper"; import { useAppTheme, useIssueDetail, useProject } from "@/hooks/store"; // ui // helpers // services // constants // components export const ProjectIssueDetailsHeader: FC = observer(() => { // router const router = useRouter(); const { workspaceSlug, projectId, issueId } = router.query; // store hooks const { currentProjectDetails } = useProject(); const { issueDetailSidebarCollapsed, toggleIssueDetailSidebar } = useAppTheme(); const { issue: { getIssueById }, } = useIssueDetail(); // derived values const issueDetails = issueId ? getIssueById(issueId.toString()) : undefined; const isSidebarCollapsed = issueDetailSidebarCollapsed; return (