import { faBan, faEye } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { Badge, EmptyState, Spinner, Tooltip } from "@app/components/v2"; import { useGetIdentityTlsCertAuth } from "@app/hooks/api"; import { IdentityTlsCertAuthForm } from "@app/pages/organization/AccessManagementPage/components/OrgIdentityTab/components/IdentitySection/IdentityTlsCertAuthForm"; import { IdentityAuthFieldDisplay } from "./IdentityAuthFieldDisplay"; import { ViewAuthMethodProps } from "./types"; import { ViewIdentityContentWrapper } from "./ViewIdentityContentWrapper"; export const ViewIdentityTlsCertAuthContent = ({ identityId, handlePopUpToggle, handlePopUpOpen, onDelete, popUp }: ViewAuthMethodProps) => { const { data, isPending } = useGetIdentityTlsCertAuth(identityId); if (isPending) { return (