You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
404 B
14 lines
404 B
import { observer } from "mobx-react"; |
|
import * as React from "react"; |
|
|
|
import DeviceView from "@app/components/DeviceView"; |
|
import { injectState, State } from "@app/state"; |
|
|
|
class DevicesView extends React.Component<{ state: State }> { |
|
render() { |
|
const { device } = this.props.state; |
|
return <DeviceView device={device} />; |
|
} |
|
} |
|
|
|
export default injectState(observer(DevicesView));
|
|
|