mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-21 00:48:45 -05:00
add missing dependency to useEffect array
This commit is contained in:
@@ -217,7 +217,6 @@ const InfrastructureDetails = () => {
|
||||
numToDisplay: 50,
|
||||
normalize: false,
|
||||
});
|
||||
|
||||
setMonitor(response.data.data);
|
||||
} catch (error) {
|
||||
navigate("/not-found", { replace: true });
|
||||
@@ -225,7 +224,7 @@ const InfrastructureDetails = () => {
|
||||
}
|
||||
};
|
||||
fetchData();
|
||||
}, [authToken, monitorId, dateRange]);
|
||||
}, [authToken, monitorId, dateRange, navigate]);
|
||||
|
||||
const statBoxConfigs = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user