Rename all certcert to certbody

This commit is contained in:
Tuan Dang
2024-06-12 13:13:42 -07:00
parent f5322abe85
commit 34338720e5
6 changed files with 13 additions and 13 deletions
@@ -1,5 +1,5 @@
import { Modal, ModalContent } from "@app/components/v2";
import { useGetCertCert } from "@app/hooks/api";
import { useGetCertBody } from "@app/hooks/api";
import { UsePopUpState } from "@app/hooks/usePopUp";
import { CertificateContent } from "./CertificateContent";
@@ -10,7 +10,7 @@ type Props = {
};
export const CertificateCertModal = ({ popUp, handlePopUpToggle }: Props) => {
const { data } = useGetCertCert(
const { data } = useGetCertBody(
(popUp?.certificateCert?.data as { serialNumber: string })?.serialNumber || ""
);