We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ddf6c commit acea204Copy full SHA for acea204
src/App.js
@@ -13,7 +13,7 @@ function App() {
13
function upgradeClicker() {
14
//upgrade clicker
15
if (points >= Math.pow(2, clickMultiplier)) {
16
- setPoints(points - 10 * Math.pow(2, clickMultiplier - 1));
+ setPoints(points - 10 * Math.pow(2, clickMultiplier - 1)); //spend points
17
setClickMultiplier(clickMultiplier + 1); //increase click multiplier by 1
18
}
19
0 commit comments