diff --git a/frontend/src/features/Dashboard/components/DashboardForm/DashboardForm.tsx b/frontend/src/features/Dashboard/components/DashboardForm/DashboardForm.tsx index ab51021c9..bf7af6488 100644 --- a/frontend/src/features/Dashboard/components/DashboardForm/DashboardForm.tsx +++ b/frontend/src/features/Dashboard/components/DashboardForm/DashboardForm.tsx @@ -43,9 +43,6 @@ export function DashboardForm({ dashboardForm: [key, dashboard], isActive }: Das const { data: controlUnits } = useGetControlUnitsQuery(undefined, RTK_DEFAULT_QUERY_OPTIONS) const activeControlUnits = useMemo(() => controlUnits?.filter(isNotArchived), [controlUnits]) const [firstColumnWidth, setFirstColumnWidth] = useState(undefined) - const selectedReportings = - dashboard.extractedArea?.reportings.filter(reporting => dashboard.dashboard.reportingIds.includes(+reporting.id)) ?? - [] const firstColumnRef = useRef(null)