import { observer } from "mobx-react"; import * as React from "react"; import { Item } from "semantic-ui-react"; import DeviceView from "@client/components/DeviceView"; import { RouteComponentProps, withRouter } from "react-router"; class DevicePage extends React.Component> { render() { const { match: { params: { deviceId } } } = this.props; return ( ); } } export default withRouter(observer(DevicePage));