removed helper
This commit is contained in:
parent
663966d38c
commit
3cb739c197
@ -1,5 +1,5 @@
|
|||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import update from 'immutability-helper';
|
// import update from 'immutability-helper';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ export class Tree extends React.Component<any, any> {
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Container>
|
<Container>
|
||||||
<DiscoveryResult />
|
<SensorItemTree />
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -156,9 +156,9 @@ export class DiscoveryResult extends React.Component<any, any> {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
const newPortState = update.newContext()(this.state.portState, {
|
{/*const newPortState = update.newContext()(this.state.portState, {
|
||||||
[hh.ip]: !this.state.portState[hh.ip]
|
[hh.ip]: !this.state.portState[hh.ip]
|
||||||
});
|
});*/}
|
||||||
|
|
||||||
{/*this.setState({ portState: newPortState });*/ }
|
{/*this.setState({ portState: newPortState });*/ }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user