fix: modifying refreshInterval=10s for statusPage api

This commit is contained in:
mannilakash committed 2026-03-19 11:34:26 -04:00
1 parent f5ba387261
commit 78566c0226
1 file changed
+7 -1
+7 -1
View File
@@ -25,7 +25,13 @@ const StatusPageView = () => {
const apiUrl = url ? `/status-page/${url}?type=uptime&type=infrastructure` : null;
const { data, isLoading, error } = useGet<StatusPageResponse>(apiUrl);
const { data, isLoading, error } = useGet<StatusPageResponse>(
apiUrl,
{},
{
refreshInterval: 10000,
}
);
const statusPage = data?.statusPage;
const monitors = data?.monitors ?? [];