Skip to content

Commit

Permalink
fix: counter
Browse files Browse the repository at this point in the history
  • Loading branch information
thebatclaudio committed Sep 11, 2024
1 parent 9f87388 commit 1bfb828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ const viewTransaction = () => {
const incrementAmount = () => {
if (amount.value + 0.1 <= (max_bet.value)) {
amount.value = (amount.value + 0.1)
amount.value = parseFloat((amount.value + 0.1).toFixed(1))
}
}
const decrementAmount = () => {
if (amount.value - 0.1 >= (min_bet.value)) {
amount.value = (amount.value - 0.1)
amount.value = parseFloat((amount.value - 0.1).toFixed(1))
}
}
Expand Down

0 comments on commit 1bfb828

Please sign in to comment.