From 03ffa44c74a1b0280562f6d8149339b1e4255c25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Dur=C3=A1n?= Date: Thu, 25 Apr 2024 17:36:36 +0200 Subject: [PATCH] Remove console.log --- src/sections/Forecasts.astro | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sections/Forecasts.astro b/src/sections/Forecasts.astro index f1d93a70c..7da4a5a87 100644 --- a/src/sections/Forecasts.astro +++ b/src/sections/Forecasts.astro @@ -67,11 +67,9 @@ const boxers = combat?.boxers.map((boxer) => BOXERS.find((b) => b.id === boxer)) document.addEventListener("astro:page-load", () => { const $forecast = $("#forecast") as HTMLElement - console.log($forecast) if ($forecast == null) return const combatId = $forecast.getAttribute("data-combat-id") - console.log(combatId) fetch(`/api/forecasts/get-forecast-by-combat-id.json?id=${combatId}`) .then((res) => res.json()) .then((json: { data: { totalVotes: number; percentageVotes: Record } }) => {