"use client"; import { useRouter } from "next/navigation"; import { useGameTick } from "@/hooks/useGameTick"; /** * Enhancement-only realtime refresh for /operations surfaces. The server * re-fetch on navigation is the correctness source; this only triggers an * early refresh when a game tick lands while the page is open. */ export function OperationsRealtimeRefresher() { const router = useRouter(); useGameTick(() => { router.refresh(); }); return null; }