refresh interval

This commit is contained in:
Alex Holliday committed 2026-01-26 22:32:08 +00:00
1 parent 389716fa77
commit d71d16ecd0
1 file changed
+3 -1
+3 -1
View File
@@ -24,7 +24,9 @@ const PageSpeedDetails = () => {
error,
refetch,
} = useGet<PageSpeedDetailsResponse>(
monitorId ? `/monitors/pagespeed/details/${monitorId}?dateRange=day` : null
monitorId ? `/monitors/pagespeed/details/${monitorId}?dateRange=day` : null,
{},
{ keepPreviousData: true, refreshInterval: 30000 }
);
const monitor = monitorData?.monitor;