fix issue on clicking previous on day 1

This commit is contained in:
devang
2022-01-11 21:30:08 -05:00
parent fa1c4a1007
commit 2fa62a348b

View File

@@ -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 = () => {