From a15001433e77f757180ceeb787b26726b145ea27 Mon Sep 17 00:00:00 2001 From: snoop Date: Thu, 20 Jul 2017 13:11:09 +0900 Subject: [PATCH] fixed lint --- .../react/components/SensorConfiguration.tsx | 2 +- .../temp/react/components/Targets.tsx | 21 +++++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx b/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx index 64b490e..20e21fd 100644 --- a/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx +++ b/src/ts/@overflow/temp/react/components/SensorConfiguration.tsx @@ -253,7 +253,7 @@ export class CrawlerSelector extends React.Component { +export class Targets extends React.Component { constructor(props: any, context: any) { super(props, context); @@ -65,8 +66,16 @@ export class Targets extends React.Component { } } +export interface TargetTableProps { -export class TargetTable extends React.Component { +} + +export interface TargetTableState { + list: Array; + selected: object; +} + +export class TargetTable extends React.Component { private data: any; constructor(props: any, context: any) { @@ -112,10 +121,10 @@ export class TargetTable extends React.Component { - {this.state.list.map((target: any, index: number) => ( + {this.state.list.map((target: Target, index: number) => ( {index + 1} - {target.infra.metaInfraType.name} + {target.infra.type.name} todo todo