Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Eyton-Williams <[email protected]>
  • Loading branch information
huyenltnguyen and ojeytonwilliams authored Oct 18, 2024
1 parent 99448a2 commit 7a3ab50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quiz/quiz.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const QuizWithValidation = () => {

return (
<div>
{correctAnswerCount && <p>Correct answers: {correctAnswerCount}</p>}
{!!correctAnswerCount && <p>Correct answers: {correctAnswerCount}</p>}
<Quiz questions={questions} disabled={disabled} />
<Spacer size="m" />
<Button onClick={handleSubmit}>Submit</Button>
Expand Down Expand Up @@ -432,7 +432,7 @@ const App = () => {
return (
<div>
{correctAnswerCount && <p>Correct answers: {correctAnswerCount}</p>}
{!!correctAnswerCount && <p>Correct answers: {correctAnswerCount}</p>}
<Quiz questions={questions} disabled={disabled} />
<Spacer size="m" />
<Button onClick={handleSubmit}>Submit</Button>
Expand Down

0 comments on commit 7a3ab50

Please sign in to comment.