mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-04 19:44:47 +00:00
Poll for status to show updates
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user