Add dependencies to useEffect
This commit is contained in:
1 parent
6363fa72e2
commit
f90208bc0f
1 file changed
+1
-1
@@ -201,7 +201,7 @@ const InfrastructureDetails = () => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
fetchData();
|
fetchData();
|
||||||
}, []);
|
}, [dateRange, monitorId, authToken]);
|
||||||
|
|
||||||
const statBoxConfigs = [
|
const statBoxConfigs = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user