forked from ddrilling/asb_cloud_front
CF2-4: Убран ненужный if()
This commit is contained in:
parent
a48ac64b85
commit
b53a1c667c
@ -182,7 +182,6 @@ export default function TelemetryView(props) {
|
|||||||
}, [id]);
|
}, [id]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if(chartInterval)
|
|
||||||
DataService.getData(id, null, chartInterval)
|
DataService.getData(id, null, chartInterval)
|
||||||
.then(handleReceiveDataSaub)
|
.then(handleReceiveDataSaub)
|
||||||
.catch(error => console.error(error))
|
.catch(error => console.error(error))
|
||||||
|
Loading…
Reference in New Issue
Block a user