Skip to content

Commit

Permalink
Merge branch 'main' into deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ThEditor committed Sep 17, 2024
2 parents 380609e + 3438300 commit 8497f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/challenges/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default function ChallengesPage() {
points={challenge.points}
solved={solved.includes(challenge.id)}
// solves={challenge.solves}
onClick={() => setChallenge(challenge.id)}
onClick={solved.includes(challenge.id) ? undefined : () => setChallenge(challenge.id)}
/>
))}
</div>
Expand Down

0 comments on commit 8497f31

Please sign in to comment.