diff --git a/src/hooks/useCertGen.ts b/src/hooks/useCertGen.ts index 5a563e4dd..34fa4f98c 100644 --- a/src/hooks/useCertGen.ts +++ b/src/hooks/useCertGen.ts @@ -41,7 +41,7 @@ export function useGenerateCertificate({ } generateCertificateAndImage(); - }, [certificateDetails]); + }, []); async function generateCertificate() { try {