"use client"; import { FC } from "react"; import { observer } from "mobx-react-lite"; import { Briefcase } from "lucide-react"; // components import { ProjectLogo } from "@/components/common"; import { NavbarControls } from "@/components/issues/navbar/controls"; // hooks import { useProject } from "@/hooks/store"; type IssueNavbarProps = { workspaceSlug: string; projectId: string; }; const IssueNavbar: FC = observer((props) => { const { workspaceSlug, projectId } = props; // hooks const { project } = useProject(); return (
{/* project detail */}
{project ? ( ) : ( )}
{project?.name || `...`}
); }); export default IssueNavbar;