Merge pull request #3428 from bluewave-labs/fix/status-page-swr-config

fix: modifying refreshInterval=10s for statusPage api
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-03-20 09:38:46 -07:00
commit 1285a641e8
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 ?? [];