Skip to content

Commit

Permalink
chore: Allow view generated quizzes
Browse files Browse the repository at this point in the history
  • Loading branch information
cptrodgers committed Aug 10, 2024
1 parent f0b4c87 commit 76c7aaf
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 23 deletions.
10 changes: 9 additions & 1 deletion apps/ikigai/components/QuizGenerator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,16 @@ const QuizGeneratorContent = ({
<Trans>Close</Trans>
</Button>
)}
{alreadyGenerate && (
<Button
variant={"outline"}
onClick={() => setStep(GenerateStep.PICK)}
>
<Trans>View Generated quizzes</Trans>
</Button>
)}
<Button onClick={onGenerate} loading={loading} disabled={loading}>
<Trans>Generate Quizzes</Trans>
<Trans>Generate</Trans>
</Button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const LessonItemRightInformation = (props: LessonItemRightInformationProps) => {
return (
<div style={{ paddingRight: 10 }}>
{props.item.tags.map((tag) => (
<Badge key={tag.tag} color="gold">
<Badge key={tag.tag} color="gold" style={{ marginRight: 4 }}>
{tag.tag}
</Badge>
))}
Expand Down
Loading

0 comments on commit 76c7aaf

Please sign in to comment.