import { useParams } from 'react-router-dom' import { memo, useContext, useMemo } from 'react' import { FilePdfOutlined } from '@ant-design/icons' import { Layout } from 'antd' import { RootPathContext } from '@asb/context' import { PrivateMenu, PrivateSwitch } from '@components/Private' import DailyReport from './DailyReport' import DiagramReport from './DiagramReport' const { Content } = Layout export const Reports = memo(() => { const { tab } = useParams() const root = useContext(RootPathContext) const rootPath = useMemo(() => `${root}/reports`, [root]) return ( } title={'Диаграмма'}/> ) }) export default Reports