import React, { Component } from 'react'; import { Redirect, Switch, RouteComponentProps } from 'react-router-dom' import { Tabs, Tab } from '@material-ui/core'; import { withAuthenticatedContext, AuthenticatedContextProps, AuthenticatedRoute } from '../authentication'; import { MenuAppBar } from '../components'; import SystemStatusController from './SystemStatusController'; import OTASettingsController from './OTASettingsController'; type SystemProps = AuthenticatedContextProps & RouteComponentProps; class System extends Component { handleTabChange = (event: React.ChangeEvent<{}>, path: string) => { this.props.history.push(path); }; render() { const { authenticatedContext } = this.props; return ( ) } } export default withAuthenticatedContext(System);