/* eslint-disable react/no-unstable-nested-components */ import React from 'react'; import { useAnalyzeTopic } from 'lib/hooks/api/topics'; import useAppParams from 'lib/hooks/useAppParams'; import { RouteParamsClusterTopic } from 'lib/paths'; import { QueryErrorResetBoundary } from '@tanstack/react-query'; import { ErrorBoundary } from 'react-error-boundary'; import { Button } from 'components/common/Button/Button'; import * as S from './Statistics.styles'; import Metrics from './Metrics'; const Statistics: React.FC = () => { const params = useAppParams(); const analyzeTopic = useAnalyzeTopic(params); return ( {({ reset }) => ( ( )} > )} ); }; export default Statistics;