diff --git a/source/frontend/src/features/mapSideBar/consolidation/AddConsolidationView.tsx b/source/frontend/src/features/mapSideBar/consolidation/AddConsolidationView.tsx index f3f742ba57..a6eedf7225 100644 --- a/source/frontend/src/features/mapSideBar/consolidation/AddConsolidationView.tsx +++ b/source/frontend/src/features/mapSideBar/consolidation/AddConsolidationView.tsx @@ -17,7 +17,7 @@ import { PropertySelectorPidSearchContainerProps } from '@/components/propertySe import PropertySearchSelectorPidFormView from '@/components/propertySelector/search/PropertySelectorPidSearchView'; import { AreaUnitTypes } from '@/constants/areaUnitTypes'; import { ApiGen_Concepts_Property } from '@/models/api/generated/ApiGen_Concepts_Property'; -import { convertArea, exists, formatNumber } from '@/utils'; +import { convertArea, exists } from '@/utils'; import MapSideBarLayout from '../layout/MapSideBarLayout'; import { AddressForm, PropertyForm } from '../shared/models'; @@ -70,11 +70,6 @@ const AddConsolidationView: React.FunctionComponent< MapSelectorComponent, PropertySelectorPidSearchComponent, }) => { - const getAreaValue = (area: number, unit: string): number => { - const sqm = convertArea(area, unit, AreaUnitTypes.SquareMeters); - return Number(formatNumber(sqm, 0, 3)); - }; - return (