From 56dd896f655276cfd4d2161da8fdff1d56c35534 Mon Sep 17 00:00:00 2001 From: limina1 Date: Tue, 17 Dec 2024 00:41:32 -0500 Subject: [PATCH] remove updateTheme --- src/lib/components/EventNetwork.svelte | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/components/EventNetwork.svelte b/src/lib/components/EventNetwork.svelte index 65bcb4b..ac2c6dd 100644 --- a/src/lib/components/EventNetwork.svelte +++ b/src/lib/components/EventNetwork.svelte @@ -13,12 +13,6 @@ const dragRadius = 45; const linkDistance = 120; - function updateTheme() { - isDarkMode = !isDarkMode; - document.body.classList.toggle("dark"); - if (svg) drawNetwork(); - } - function getEventColor(eventId: string): string { const num = parseInt(eventId.slice(0, 4), 16); const hue = num % 360;