Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
fix issue on clicking previous on day 1
Browse files Browse the repository at this point in the history
  • Loading branch information
DevangThakkar committed Jan 12, 2022
1 parent fa1c4a1 commit 2fa62a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function App() {
play()
}
const playRandom = () => {
day = Math.floor(Math.random() * (og_day-1))+1
day = Math.floor(Math.random() * (og_day-1)) + 1
play()
}
const playNext = () => {
Expand Down

0 comments on commit 2fa62a3

Please sign in to comment.