removed helper
This commit is contained in:
		
							parent
							
								
									663966d38c
								
							
						
					
					
						commit
						3cb739c197
					
				| @ -1,5 +1,5 @@ | ||||
| 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() { | ||||
|     return ( | ||||
|       <Container> | ||||
|         <DiscoveryResult /> | ||||
|         <SensorItemTree /> | ||||
|       </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] | ||||
|                     }); | ||||
|                     });*/} | ||||
| 
 | ||||
|                     {/*this.setState({ portState: newPortState });*/ } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user