diff --git a/components/HomePageClient.tsx b/components/HomePageClient.tsx index 3f40343..12f55b6 100644 --- a/components/HomePageClient.tsx +++ b/components/HomePageClient.tsx @@ -97,7 +97,8 @@ export function HomePageClient({ const ms = msUntilLocalTime(openTime.hour, openTime.minute, park.timezone); // Only schedule if opening is still in the future (within the next 24h) if (ms > 0 && ms < 24 * 60 * 60 * 1000) { - timeouts.push(setTimeout(() => router.refresh(), ms + OPEN_REFRESH_BUFFER_MS)); + timeouts.push(setTimeout(() => router.refresh(), ms)); // mark as open + timeouts.push(setTimeout(() => router.refresh(), ms + OPEN_REFRESH_BUFFER_MS)); // pick up ride counts } }