From 2e77124d9e3cefd7ef658600934fef8e3406898c Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 25 Aug 2017 13:08:31 +0900 Subject: [PATCH] fix bug --- src/ts/@overflow/sensor/react/components/SensorList.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ts/@overflow/sensor/react/components/SensorList.tsx b/src/ts/@overflow/sensor/react/components/SensorList.tsx index c0bd90f..795b88d 100644 --- a/src/ts/@overflow/sensor/react/components/SensorList.tsx +++ b/src/ts/@overflow/sensor/react/components/SensorList.tsx @@ -20,8 +20,8 @@ export interface DispatchProps { onReadAllByProbe?(probe: Probe): void; onReadAllByDomain?(domain: Domain): void; onSelectSensor?(id: number): void; - onAddSensor?(target: Target): void; - onReadAllByInfra?(infra: Infra): void; + onAddSensor?(infraId: string): void; + onReadAllByInfra?(infraId: number): void; } export type SensorListProps = StateProps & DispatchProps;