Add dependencies to useEffect

This commit is contained in:
Alex Holliday committed 2024-11-25 09:55:01 +08:00
1 parent 6363fa72e2
commit f90208bc0f
1 file changed
+1 -1
@@ -201,7 +201,7 @@ const InfrastructureDetails = () => {
}
};
fetchData();
}, []);
}, [dateRange, monitorId, authToken]);
const statBoxConfigs = [
{