mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-13 21:21:30 +08:00
21 lines
561 B
TypeScript
21 lines
561 B
TypeScript
import './InfrastructureMonitoring.styles.scss';
|
|
|
|
import RouteTab from 'components/RouteTab';
|
|
import { TabRoutes } from 'components/RouteTab/types';
|
|
import history from 'lib/history';
|
|
import { useLocation } from 'react-use';
|
|
|
|
import { Hosts } from './constants';
|
|
|
|
export default function InfrastructureMonitoringPage(): JSX.Element {
|
|
const { pathname } = useLocation();
|
|
|
|
const routes: TabRoutes[] = [Hosts];
|
|
|
|
return (
|
|
<div className="infra-monitoring-module-container">
|
|
<RouteTab routes={routes} activeKey={pathname} history={history} />
|
|
</div>
|
|
);
|
|
}
|