From d5758721ecb3b272de56782e15c3157cf6f892f5 Mon Sep 17 00:00:00 2001 From: Yash Makhija <125460543+yashmakhija@users.noreply.github.com> Date: Mon, 30 Dec 2024 18:46:50 +0530 Subject: [PATCH] fix: infinite certificate req (#1691) --- src/hooks/useCertGen.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {