From a126ea8344ef02e6b886002eba3f6030de49dbdb Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Mon, 23 Feb 2026 21:08:01 +0100 Subject: [PATCH] Removed testing function --- src/App.jsx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 0e5dcfe..e7454f8 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -21,15 +21,6 @@ function isSnowfallSeason(date = DateTime.now()) { return date <= prevEnd; } -// Gibt alle 10 Sekunden einen anderen Boolean zurück, basierend auf der aktuellen Sekunde -function isTenSecondInterval() { - const seconds = DateTime.now().second; - // true für 0-9, 20-29, 40-49; false sonst - return (seconds >= 0 && seconds < 10) || (seconds >= 20 && seconds < 30) || (seconds >= 40 && seconds < 50); -} - - - export default function LiquidDevelopment() { return (
- {isTenSecondInterval() && } + {isSnowfallSeason() && }