diff --git a/pkg/app/web/src/components/insight-page/insight-header/index.tsx b/pkg/app/web/src/components/insight-page/insight-header/index.tsx index 65ed783600..572da73d38 100644 --- a/pkg/app/web/src/components/insight-page/insight-header/index.tsx +++ b/pkg/app/web/src/components/insight-page/insight-header/index.tsx @@ -11,11 +11,10 @@ import { MuiPickersUtilsProvider, } from "@material-ui/pickers"; import { MaterialUiPickersDate } from "@material-ui/pickers/typings/date"; -import { FC, memo, useCallback, useEffect } from "react"; +import { FC, memo, useCallback } from "react"; import { INSIGHT_STEP_TEXT } from "~/constants/insight-step-text"; import { useAppDispatch, useAppSelector } from "~/hooks/redux"; import { Application, selectAll, selectById } from "~/modules/applications"; -import { fetchDeploymentFrequency } from "~/modules/deployment-frequency"; import { changeApplication, changeRangeFrom, @@ -102,9 +101,10 @@ export const InsightHeader: FC = memo(function InsightHeader() { [dispatch] ); - useEffect(() => { - dispatch(fetchDeploymentFrequency()); - }, [dispatch, applicationId, step, rangeFrom, rangeTo]); + // TODO: Enable fetch chart data on insight filter changes. + // useEffect(() => { + // dispatch(fetchDeploymentFrequency()); + // }, [dispatch, applicationId, step, rangeFrom, rangeTo]); return (