import { FC } from "react"; import { useRouter } from "next/router"; import Link from "next/link"; // ui import { BreadcrumbItem, Breadcrumbs } from "@plane/ui"; // helper import { truncateText } from "helpers/string.helper"; // hooks import { useMobxStore } from "lib/mobx/store-provider"; import { observer } from "mobx-react-lite"; export interface IProjectSettingHeader { title: string; } export const ProjectSettingHeader: FC = observer((props) => { const { title } = props; const router = useRouter(); const { workspaceSlug } = router.query; // store const { project: projectStore } = useMobxStore(); const { currentProjectDetails } = projectStore; return (
router.back()}>

{`${truncateText(currentProjectDetails?.name ?? "Project", 32)}`}

} />
); });