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;