Skip to content

Commit

Permalink
minor fix to display take quiz
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtan2000 committed Aug 16, 2024
1 parent cda8d6f commit e349c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(main)/quiz/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const [visible, setVisible] = useState(false);
Are you sure you want to exit the quiz?
</Dialog>
</div>
{!quiz && (
{!isQuizOngoing && (
<div>
<br/>
<TabView activeIndex={activeTab} onTabChange={(e) => setActiveTab(e.index)}>
Expand Down

0 comments on commit e349c6a

Please sign in to comment.