Skip to content

Commit ac51059

Browse files
committed
Fix warnings
1 parent c8f3f0e commit ac51059

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/client/src/components/map/mapComponent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { BasemapContext } from "../basemapSelector/basemapContext.tsx";
2828
import { clusterStyleFunction, drawStyle, styleFunction } from "./mapStyleFunctions.js";
2929
import { projections } from "./mapProjections.js";
3030
import { theme } from "../../AppTheme.ts";
31-
import Draw from "ol/interaction/Draw.js";
31+
import Draw from "ol/interaction/Draw";
3232
import { withTranslation } from "react-i18next";
3333

3434
class MapComponent extends React.Component {

src/client/src/components/map/pointComponent.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import { attributions, crossOrigin, swissExtent, updateBasemap } from "../basema
2222
import { BasemapContext } from "../basemapSelector/basemapContext.tsx";
2323
import { projections } from "./mapProjections.js";
2424
import { detailMapStyleFunction } from "./mapStyleFunctions.js";
25-
import TileLayer from "ol/layer/Tile.js";
26-
import XYZ from "ol/source/XYZ.js";
25+
import TileLayer from "ol/layer/Tile";
26+
import XYZ from "ol/source/XYZ";
2727

2828
class PointComponent extends React.Component {
2929
static contextType = BasemapContext;

0 commit comments

Comments
 (0)