From e349c6a95c18ff3158b285965cc79a7ae187f360 Mon Sep 17 00:00:00 2001 From: andrewtan2000 Date: Fri, 16 Aug 2024 10:57:55 +0800 Subject: [PATCH] minor fix to display take quiz --- app/(main)/quiz/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(main)/quiz/page.tsx b/app/(main)/quiz/page.tsx index 522cdad..3448a3d 100644 --- a/app/(main)/quiz/page.tsx +++ b/app/(main)/quiz/page.tsx @@ -174,7 +174,7 @@ const [visible, setVisible] = useState(false); Are you sure you want to exit the quiz? - {!quiz && ( + {!isQuizOngoing && (

setActiveTab(e.index)}>