From a15758a1c8d7de0c032ca00ef66b73e3375d7aa0 Mon Sep 17 00:00:00 2001 From: Jackson Melo Date: Wed, 13 Dec 2023 00:15:17 -0300 Subject: [PATCH] Fixing References --- src/components/Controls.astro | 2 +- src/components/Creds.astro | 13 ++++++++++--- src/components/timer/Timer.astro | 2 +- src/layouts/Layout.astro | 8 ++++---- 4 files changed, 16 insertions(+), 9 deletions(-) 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" />