From 149ed4d8eca7a8b50315620e6ac73fa338a39bf9 Mon Sep 17 00:00:00 2001 From: ab7022 Date: Sat, 9 Nov 2024 00:52:18 +0530 Subject: [PATCH] Fix issue with certificate visibility --- src/app/certificate/page.tsx | 2 +- src/components/Certificate.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/certificate/page.tsx b/src/app/certificate/page.tsx index 64f1b1657..8aa1738ee 100644 --- a/src/app/certificate/page.tsx +++ b/src/app/certificate/page.tsx @@ -5,7 +5,7 @@ const CertificatePage = async () => { const certificates = await getCertificates(); return ( -
+
{certificates?.map(({ cert, course, user }) => ( + {certificateImageUrl ? (