Skip to content

Commit

Permalink
Hotfix added default to calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
alegarman2002 committed Apr 29, 2024
1 parent 190e17c commit 213155f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webapp/src/components/game/Calculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ const Calculator = () => {
case '÷':
correctAnswer = Math.round(num1 / num2);
break;
default:
break;
}

const option = [correctAnswer];
Expand Down

0 comments on commit 213155f

Please sign in to comment.