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() && }