Skip to content

Commit

Permalink
Fix woodpecker submit invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
sreeshmaheshwar committed Mar 17, 2024
1 parent ab8d031 commit 836e386
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/woodpecker/woodpecker-mode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ const WoodPeckerMode: React.FC<WoodpeckerModeProps> = ({

const submitNextPuzzle = (
_success: boolean,
_prv: Rating,
_t: number
): Promise<Rating> => Promise.resolve(_prv);
_time: number
): Promise<Rating> => Promise.resolve(initialRating);

const getNextPuzzle = () => {
if (puzzles.length === 1) {
Expand Down

0 comments on commit 836e386

Please sign in to comment.