Skip to content

Commit

Permalink
Update pick limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
vikpe authored Apr 26, 2024
1 parent 3158ae5 commit ca86685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Board.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class Board extends React.Component {
const pickRound = Math.floor(pickCount / captainTeams.length);
const pickNumber = 1 + (pickCount % captainTeams.length);

const pickLimit = pickOrder.length;
const pickLimit = pickOrder.length + captainTeams.length;
const draftStatus = pickCount >= pickLimit ? "completed" : "in-progress";

if (!hasUsedConfetti && "completed" === draftStatus) {
Expand Down

0 comments on commit ca86685

Please sign in to comment.