From b4b6aa0cc6beffd01a4b88ff2383c0e2cab3ef54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20J=C3=BCtte?= <marvin@juette.cc> Date: Tue, 9 Jul 2024 01:01:05 +0200 Subject: [PATCH] remove debug console.log statements --- src/panels/Fahrplan/FahrplanPanel.tsx | 2 -- src/panels/Gremium/GremiumPanel.tsx | 2 -- src/panels/Mensaplan/MensaplanPanel.tsx | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/panels/Fahrplan/FahrplanPanel.tsx b/src/panels/Fahrplan/FahrplanPanel.tsx index 696dcb3..c707004 100644 --- a/src/panels/Fahrplan/FahrplanPanel.tsx +++ b/src/panels/Fahrplan/FahrplanPanel.tsx @@ -173,8 +173,6 @@ async function getStopData(stop: string): Promise<StationResponse> { } })) - console.log(data); - return data as StationResponse; } diff --git a/src/panels/Gremium/GremiumPanel.tsx b/src/panels/Gremium/GremiumPanel.tsx index 4076d0d..26f6707 100644 --- a/src/panels/Gremium/GremiumPanel.tsx +++ b/src/panels/Gremium/GremiumPanel.tsx @@ -24,8 +24,6 @@ const GremiumPanel = (props: {definition: GremiumPanelDefinition}) => { useEffect(() => { const update = async () => { setGremium(props.definition.gremien[cycle.current++ % props.definition.gremien.length]); - console.log(gremium); - console.log(cycle.current); } update(); diff --git a/src/panels/Mensaplan/MensaplanPanel.tsx b/src/panels/Mensaplan/MensaplanPanel.tsx index 9e0b05b..e69d2a1 100644 --- a/src/panels/Mensaplan/MensaplanPanel.tsx +++ b/src/panels/Mensaplan/MensaplanPanel.tsx @@ -67,8 +67,6 @@ const MensaplanPanel = (props: {definition: MensaPanelDefinition}) => { const data = await request.json() as CanteenAPIResponse; - console.log(data); - const old_menus_count = menus.current.length; const old_specials_count = menus.current.length; -- GitLab