diff --git a/src/app/oracle/page.tsx b/src/app/oracle/page.tsx index 0067026..5582bf6 100644 --- a/src/app/oracle/page.tsx +++ b/src/app/oracle/page.tsx @@ -165,7 +165,7 @@ export default function OraclePage() { {readings.length > 0 && ( <> {/* Filter pills */} -
+
{DATA_TYPES.map((dt) => (
diff --git a/src/app/page.tsx b/src/app/page.tsx index 12e7342..5c23df7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -82,6 +82,13 @@ export default function HomePage() { const [totalCoverage, setTotalCoverage] = useState(null); const [totalPayouts, setTotalPayouts] = useState(null); const [statsLastUpdated, setStatsLastUpdated] = useState(null); + const [, setTick] = useState(0); + + // Refresh the "Updated X ago" text every 60s + useEffect(() => { + const id = setInterval(() => setTick((t) => t + 1), 60_000); + return () => clearInterval(id); + }, []); useEffect(() => { let cancelled = false;