@@ -7,11 +7,10 @@ import Fullscreen from '../../../components/Fullscreen/Fullscreen';
77import { HealthcheckStatus } from '../../../components/HealthcheckStatus/HealthcheckStatus' ;
88import { Illustration } from '../../../components/Illustration' ;
99import { Loader } from '../../../components/Loader' ;
10- import { useClusterBaseInfo } from '../../../store/reducers/cluster/cluster' ;
1110import type { IssuesTree } from '../../../store/reducers/healthcheckInfo/types' ;
1211import { SelfCheckResult } from '../../../types/api/healthcheck' ;
1312import { uiFactory } from '../../../uiFactory/uiFactory' ;
14- import { useAutoRefreshInterval , useTypedSelector } from '../../../utils/hooks' ;
13+ import { useTypedSelector } from '../../../utils/hooks' ;
1514import { HEALTHCHECK_RESULT_TO_TEXT } from '../constants' ;
1615
1716import { HealthcheckFilter } from './components/HealthcheckFilter' ;
@@ -38,14 +37,9 @@ export function Healthcheck({
3837 tenantName,
3938 countIssueTypes = uiFactory . healthcheck . countHealthcheckIssuesByType ,
4039} : HealthcheckDetailsProps ) {
41- const [ autoRefreshInterval ] = useAutoRefreshInterval ( ) ;
4240 const fullscreen = useTypedSelector ( ( state ) => state . fullscreen ) ;
43- const { name} = useClusterBaseInfo ( ) ;
4441 const { loading, error, selfCheckResult, fulfilledTimeStamp, leavesIssues, refetch} =
45- useHealthcheck ( tenantName , {
46- //FIXME https://github.com/ydb-platform/ydb-embedded-ui/issues/1889
47- autorefresh : name === 'ydb_ru' ? undefined : autoRefreshInterval ,
48- } ) ;
42+ useHealthcheck ( tenantName ) ;
4943
5044 const issuesCount = React . useMemo (
5145 ( ) => countIssueTypes ( leavesIssues ) ,
0 commit comments