add: added alert sound to the front

This commit is contained in:
Lukian 2025-04-27 13:40:16 +02:00
parent cb9a0c27b4
commit a91cf9d6a5
2 changed files with 2 additions and 0 deletions

BIN
front/public/alert.mp3 Normal file

Binary file not shown.

View file

@ -15,6 +15,8 @@ export default function App() {
level: level level: level
}) })
.then(() => { .then(() => {
const audio = new Audio("/alert.mp3")
audio.play()
setText("") setText("")
}) })
.catch((error) => { .catch((error) => {