added setup
This commit is contained in:
parent
29328da8d4
commit
2d4417bc2e
|
@ -5,6 +5,7 @@ import SignIn from '../views/member/SignIn';
|
|||
import SignUp from '../views/member/SignUp';
|
||||
import PWChange from '../views/member/ForgotPassword';
|
||||
import SensorList from '../views/monitoring/sensor/List';
|
||||
import SensorSetup from '../views/monitoring/sensor/Setup';
|
||||
import ProbeList from '../views/monitoring/probe/List';
|
||||
import TargetList from '../views/infrastructure/target/List';
|
||||
|
||||
|
@ -54,6 +55,8 @@ const routes = (
|
|||
<Route exact path='/probe_list' component={ProbeList} />
|
||||
<Route exact path='/sensor_list' component={SensorList} />
|
||||
<Route exact path='/target_list' component={TargetList} />
|
||||
<Route exact path='/sensor_setup' component={SensorSetup} />
|
||||
|
||||
|
||||
</Switch>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as React from 'react';
|
||||
import { RouteComponentProps } from 'react-router';
|
||||
import SensorListContainer from '@overflow/sensor/react/SensorList';
|
||||
import SensorSetupContainer from '@overflow/sensor/react/SensorConfiguration';
|
||||
import WebSocketRPC from '@overflow/commons/websocket/WebSocketRPC';
|
||||
import AppContext from '@overflow/commons/context';
|
||||
import inject from '@overflow/commons/context/decorator/inject';
|
||||
|
@ -17,7 +17,7 @@ class SensorSetup extends React.Component<RouteComponentProps<object>, object> {
|
|||
|
||||
public render(): JSX.Element {
|
||||
return (
|
||||
<SensorListContainer />
|
||||
<SensorSetupContainer />
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user