diff --git a/Webserver/src/routes/clock/+page.svelte b/Webserver/src/routes/clock/+page.svelte index 340c4a5..2ad4be9 100644 --- a/Webserver/src/routes/clock/+page.svelte +++ b/Webserver/src/routes/clock/+page.svelte @@ -74,7 +74,7 @@ return 50 + radius * relative; } - async function update() { + function update() { // Get current datetime and date const current = new Date(Date.now()); const day = new Date(current.toDateString()); @@ -107,7 +107,7 @@ } }; // If enabled, update clock display - if (clockEnabled) await displayMatrixClock(); + if (clockEnabled) displayMatrixClock(); } // Converts the x and y values from percentage to matrix coordinates