-1
src/routes/rnfgrertt/borgle.lazy.tsx
-1
src/routes/rnfgrertt/borgle.lazy.tsx
···
151
151
// Update countdown timer
152
152
useEffect(() => {
153
153
const updateCountdown = () => {
154
-
const now = new Date();
155
154
const nextMidnightUTC = new Date();
156
155
nextMidnightUTC.setUTCDate(nextMidnightUTC.getUTCDate() + 1);
157
156
nextMidnightUTC.setUTCHours(0, 0, 0, 0); // Set to UTC midnight