Add dependencies to useEffect

This commit is contained in:
Alex Holliday
2024-11-25 09:55:01 +08:00
parent 6363fa72e2
commit f90208bc0f

View File

@@ -201,7 +201,7 @@ const InfrastructureDetails = () => {
}
};
fetchData();
}, []);
}, [dateRange, monitorId, authToken]);
const statBoxConfigs = [
{