From 80517cd7cc7b6e75d218583120c884e87c6dfb97 Mon Sep 17 00:00:00 2001 From: popovspiridon99 Date: Tue, 7 Oct 2025 12:22:23 +0900 Subject: [PATCH] remove unused imports --- client/src/components/map/MapComponent.tsx | 4 ++-- client/src/constants/app.tsx | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/components/map/MapComponent.tsx b/client/src/components/map/MapComponent.tsx index 5915b2d..35a50bb 100644 --- a/client/src/components/map/MapComponent.tsx +++ b/client/src/components/map/MapComponent.tsx @@ -7,7 +7,7 @@ import { IRectCoords, SatelliteMapsProvider } from '../../interfaces/map' import { Extent, getCenter } from 'ol/extent' import { highlightStyleRed, highlightStyleYellow } from './MapStyles' import { customMapSource, googleMapsSatelliteSource, yandexMapsSatelliteSource } from './MapSources' -import { Geometry, SimpleGeometry } from 'ol/geom' +import { Geometry } from 'ol/geom' import { fromExtent } from 'ol/geom/Polygon' import { Coordinate } from 'ol/coordinate' import { addInteractions, getFeatureByEntityId, handleImageDrop, loadFeatures, processFigure, processLine, zoomToFeature } from './mapUtils' @@ -75,7 +75,7 @@ const MapComponent = ({ polygonExtent, rectCoords, draw, snap, translate, drawingLayerSource, satLayer, staticMapLayer, figuresLayer, linesLayer, - regionsLayer, districtBoundLayer, baseLayer, districtsLayer, + regionsLayer, districtBoundLayer, districtsLayer, printAreaDraw, statusText, statusTextPosition, regionSelect, districtSelect } = useMapStore().id[id] diff --git a/client/src/constants/app.tsx b/client/src/constants/app.tsx index bc810a4..31669ad 100644 --- a/client/src/constants/app.tsx +++ b/client/src/constants/app.tsx @@ -5,7 +5,6 @@ import PasswordReset from "../pages/auth/PasswordReset"; import ComponentTest from "../pages/ComponentTest"; import MonitorPage from "../pages/MonitorPage"; import Settings from "../pages/Settings"; -import Main from "../pages/Main"; import Users from "../pages/Users"; import Roles from "../pages/Roles"; import Documents from "../pages/Documents"; @@ -17,7 +16,7 @@ import PrintReport from "../pages/PrintReport"; import DBManager from "../pages/DBManager"; import MapLineTest from "../components/map/MapLineTest"; import FuelPage from "../pages/Fuel"; -import { Building24Color, Cloud24Color, Database24Color, Document24Color, Form24Color, Home24Color, Map24Filled, Map24Regular, PeopleList24Color, Shield24Color } from "@fluentui/react-icons" +import { Building24Color, Cloud24Color, Database24Color, Document24Color, Form24Color, Map24Filled, Map24Regular, PeopleList24Color, Shield24Color } from "@fluentui/react-icons" // Определение страниц с путями и компонентом для рендера