Skip to content

Commit 5205d48

Browse files
committed
chore: fix linter warnings
1 parent b2f6355 commit 5205d48

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/bootstrap.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ export const setApplicationToStore = async (application?: Application) => {
346346
store.dispatch(setMapToolbarVisible(config?.visible));
347347
store.dispatch(setGeoLocationVisible(config?.showGeolocation));
348348
},
349+
// eslint-disable-next-line camelcase
349350
measure_tools: (config) => {
350351
store.dispatch(setShowSegmentLengths(config?.showSegmentLengths ?? false));
351352
},

src/components/ToolMenu/Measure/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ import {
2828
useMap
2929
} from '@terrestris/react-util/dist/Hooks/useMap/useMap';
3030

31+
import useAppSelector from '../../../hooks/useAppSelector';
32+
3133
import './index.less';
32-
import useAppSelector from "../../../hooks/useAppSelector";
3334

3435
interface DefaultMeasureProps {
3536
showMeasureDistance?: boolean;

src/store/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import layerTree from './layerTree';
2020
import legal from './legal';
2121
import logoPath from './logoPath';
2222
import mapToolbar from './mapToolbar';
23+
import measure from './measure';
2324
import newsTextIds from './newsText';
2425
import print from './print';
2526
import searchEngines from './searchEngines';
@@ -31,7 +32,6 @@ import toolMenu from './toolMenu';
3132
import uploadDataModal from './uploadDataModal';
3233
import user from './user';
3334
import userMenu from './userMenu';
34-
import measure from './measure';
3535

3636
export type AsyncReducer = Record<string, Reducer>;
3737

0 commit comments

Comments
 (0)