From 38ad6c583ab3631dcf4d459e7f29486ecb899d5b Mon Sep 17 00:00:00 2001 From: snoop Date: Wed, 26 Jul 2017 18:59:27 +0900 Subject: [PATCH] fixed sensor --- src/ts/@overflow/meta/react/components/SensorItemTree.tsx | 2 -- src/ts/@overflow/sensor/react/components/SensorDetailInfo.tsx | 1 - 2 files changed, 3 deletions(-) diff --git a/src/ts/@overflow/meta/react/components/SensorItemTree.tsx b/src/ts/@overflow/meta/react/components/SensorItemTree.tsx index 16c5257..29697f8 100644 --- a/src/ts/@overflow/meta/react/components/SensorItemTree.tsx +++ b/src/ts/@overflow/meta/react/components/SensorItemTree.tsx @@ -88,8 +88,6 @@ export class SensorItemTree extends React.Component { - - {/*let newPortState: Map = new Map(this.state.portState);*/ } let newCategoryState: Map = _.clone(this.state.categoryState); newCategoryState[key] = !newCategoryState[key]; this.setState({ categoryState: newCategoryState }); diff --git a/src/ts/@overflow/sensor/react/components/SensorDetailInfo.tsx b/src/ts/@overflow/sensor/react/components/SensorDetailInfo.tsx index 1a148fa..c720a81 100644 --- a/src/ts/@overflow/sensor/react/components/SensorDetailInfo.tsx +++ b/src/ts/@overflow/sensor/react/components/SensorDetailInfo.tsx @@ -1,7 +1,6 @@ import * as React from 'react'; import { Button, Table, Label, Segment, Header, Container } from 'semantic-ui-react'; import { DetailContainer } from '@overflow/commons/react/component/DetailContainer'; -import { SensorItems } from './SensorItems'; import Sensor from '@overflow/sensor/api/model/Sensor'; import Probe from '@overflow/probe/api/model/Probe';