Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hooks/candidates.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const CandidatesProvider = ({ children }) => {

const totalRounds = Math.log(16) / Math.log(2)
const totalSteps = candidates.length / 2
const isGameEnded = round === totalRounds
const isGameEnded = round === (totalRounds - 1)

return (
<CandidatesContext.Provider
Expand Down