Poll for status to show updates

This commit is contained in:
Owen
2026-04-16 16:53:18 -07:00
parent c4308aaa69
commit 597cae2b78
2 changed files with 28 additions and 1 deletions

View File

@@ -74,7 +74,10 @@ export default function HealthChecksTable({
isLoading,
refetch,
isRefetching
} = useQuery(orgQueries.standaloneHealthChecks({ orgId }));
} = useQuery({
...orgQueries.standaloneHealthChecks({ orgId }),
refetchInterval: 10_000
});
const invalidate = () =>
queryClient.invalidateQueries(