diff --git a/Client/src/Components/Charts/MonitorDetailsAreaChart/index.jsx b/Client/src/Components/Charts/MonitorDetailsAreaChart/index.jsx index ed3d724e8..2ecb2f6a8 100644 --- a/Client/src/Components/Charts/MonitorDetailsAreaChart/index.jsx +++ b/Client/src/Components/Charts/MonitorDetailsAreaChart/index.jsx @@ -11,7 +11,6 @@ import { import { Box, Stack, Typography } from "@mui/material"; import { useTheme } from "@emotion/react"; import { useMemo } from "react"; -import { formatDate } from "../../../Utils/timeUtils"; import "./index.css"; import { useSelector } from "react-redux"; import { formatDateWithTz } from "../../../Utils/timeUtils"; @@ -103,6 +102,13 @@ const CustomTick = ({ x, y, payload, index }) => { ); }; +CustomTick.propTypes = { + x: PropTypes.number, + y: PropTypes.number, + payload: PropTypes.object, + index: PropTypes.number, +}; + const MonitorDetailsAreaChart = ({ checks }) => { const theme = useTheme(); const memoizedChecks = useMemo(() => checks, [checks[0]]);