diff --git a/Client/src/Components/Charts/MonitorDetailsAreaChart/index.jsx b/Client/src/Components/Charts/MonitorDetailsAreaChart/index.jsx index ead38c6ac..121200acf 100644 --- a/Client/src/Components/Charts/MonitorDetailsAreaChart/index.jsx +++ b/Client/src/Components/Charts/MonitorDetailsAreaChart/index.jsx @@ -97,7 +97,7 @@ const MonitorDetailsAreaChart = ({ checks }) => { }); }; - const memoizedChecks = useMemo(() => checks, []); + const memoizedChecks = useMemo(() => checks, [checks[0]]); const theme = useTheme();