diff --git a/src/components/Controls.astro b/src/components/Controls.astro index 553ea30..76145ba 100644 --- a/src/components/Controls.astro +++ b/src/components/Controls.astro @@ -79,7 +79,7 @@ import "./controls.css"; const volumeControls = document.querySelectorAll("#range"); volumeControls.forEach((volumeControl) => { - var volume; + var volume: number; volumeControl.addEventListener("input", () => { volume = parseFloat(volumeControl.value); players.forEach((ytplayer) => { diff --git a/src/components/Creds.astro b/src/components/Creds.astro index 8592c57..d65e343 100644 --- a/src/components/Creds.astro +++ b/src/components/Creds.astro @@ -12,12 +12,12 @@ import Button from "./Button.astro"; target="_blank" />