From f5a414a30e6e9abe28c3540f5eadaa29fc2427da Mon Sep 17 00:00:00 2001 From: Ryan Omasta Date: Sat, 17 Dec 2022 17:59:41 -0700 Subject: [PATCH] Add initial loading for rest of music --- components/MusicAudio.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/MusicAudio.tsx b/components/MusicAudio.tsx index fe10815..d064bcc 100644 --- a/components/MusicAudio.tsx +++ b/components/MusicAudio.tsx @@ -18,7 +18,7 @@ interface MusicAudioProps { } const MusicAudio = ({ vol }: MusicAudioProps) => { - const [fileIdx, setFileIdx] = React.useState(randNum(1, 13)); + const [fileIdx, setFileIdx] = React.useState(randNum(1, 33)); const [file, setFile] = React.useState(`/music/${encodeURIComponent(`Weatherscan Track ${fileIdx}.mp3`)}`); const [loop, setLoop] = React.useState(false);