import { Layout, Menu, } from 'antd' // Button, import { FundViewOutlined, FolderOutlined } from '@ant-design/icons' // UserOutlined, MenuOutlined, import { useState } from 'react' import { Switch, Route, Redirect, Link} from "react-router-dom" import Wells from './Wells' import TelemetryView from './TelemetryView' import Files from './Files' import Archive from './Archive' import Messages from './Messages' import Report from './Report' import Analysis from './Analysis' import PageHeader from './Header' const { Content, Sider } = Layout export default function Main(){ const [sidebarVisible] = useState(true) // setSidebarVisible // const login = localStorage['login'] // let handleLogout = () => { // localStorage.removeItem('login') // localStorage.removeItem('token') // } return( {sidebarVisible && }> Мониторинг }> Архив }> Сообщения }> Рапорт }> Анализ }> Файлы } ); }