What is this hellspawn of a spacing 💀

This commit is contained in:
Ayase Minori 2023-09-27 00:05:04 +08:00 committed by GitHub
parent 6619815a57
commit ac08c242a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,13 +53,10 @@ export default function Counter(props: SharedProps) {
setInternalCount(internalCount + 1);
setCount(count + 1);
animateMascot();
const audioFile = props.audioFiles[Math.floor(Math.random() * props.audioFiles.length)];
const audio = new Audio(audioFile);
audio.play();
audio.play();
clearTimeout(timer);