import { observer } from "mobx-react"; import { useParams, usePathname } from "next/navigation"; import { WORKSPACE_SETTINGS_LINKS, EUserPermissionsLevel } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; // hooks import { useUserPermissions } from "@/hooks/store"; import { useAppRouter } from "@/hooks/use-app-router"; // plane web helpers import { shouldRenderSettingLink } from "@/plane-web/helpers/workspace.helper"; export const MobileWorkspaceSettingsTabs = observer(() => { const router = useAppRouter(); const { workspaceSlug } = useParams(); const pathname = usePathname(); const { t } = useTranslation(); // mobx store const { allowPermissions } = useUserPermissions(); return (