Skip to content

Commit 674a473

Browse files
committed
formatting
1 parent 0174133 commit 674a473

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

src/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { createMap, getMap, setMap } from '@/map/map'
66
import MapFeatureStore from '@/stores/MapFeatureStore'
77
import SettingsStore from '@/stores/SettingsStore'
88
import { SpeechSynthesizerImpl } from '@/SpeechSynthesizer'
9-
import {getTranslation, setTranslation} from '@/translation/Translation'
9+
import { getTranslation, setTranslation } from '@/translation/Translation'
1010
import { getApi, setApi } from '@/api/Api'
1111
import QueryStore from '@/stores/QueryStore'
1212
import RouteStore from '@/stores/RouteStore'
@@ -34,9 +34,9 @@ import NavBar from '@/NavBar'
3434
import POIsStore from '@/stores/POIsStore'
3535
import { initDistanceFormat } from '@/Converters'
3636
import { AddressParseResult } from '@/pois/AddressParseResult'
37-
import {Pixel} from "ol/pixel";
38-
import {toLonLat} from "ol/proj";
39-
import {ErrorAction, InfoReceived, LocationUpdateSync} from "@/actions/Actions";
37+
import { Pixel } from 'ol/pixel'
38+
import { toLonLat } from 'ol/proj'
39+
import { ErrorAction, InfoReceived, LocationUpdateSync } from '@/actions/Actions'
4040

4141
console.log(`Source code: https://github.com/graphhopper/graphhopper-maps/tree/${GIT_SHA}`)
4242

src/sidebar/MobileSidebar.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,15 @@ type MobileSidebarProps = {
2424
turnNavigationSettings: TNSettingsState
2525
}
2626

27-
export default function ({ query, route, error, encodedValues, drawAreas, map, turnNavigationSettings }: MobileSidebarProps) {
27+
export default function ({
28+
query,
29+
route,
30+
error,
31+
encodedValues,
32+
drawAreas,
33+
map,
34+
turnNavigationSettings,
35+
}: MobileSidebarProps) {
2836
const [showCustomModelBox, setShowCustomModelBox] = useState(false)
2937
// the following three elements control, whether the small search view is displayed
3038
const isShortScreen = useMediaQuery({ query: '(max-height: 55rem)' })

test/stores/TurnNavigationStore.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ import {
1717
RawResult,
1818
ReverseGeocodingHit,
1919
RoutingArgs,
20-
RoutingResult, TagHash
20+
RoutingResult,
21+
TagHash,
2122
} from '@/api/graphhopper'
2223
import Api, { ApiImpl } from '@/api/Api'
2324
import { setTranslation } from '@/translation/Translation'
2425
import { Coordinate } from '@/stores/QueryStore'
2526
import { Pixel } from 'ol/pixel'
2627
import SettingsStore from '@/stores/SettingsStore'
27-
import {POIQuery} from "@/pois/AddressParseResult";
28+
import { POIQuery } from '@/pois/AddressParseResult'
2829

2930
let routeWithVia = toRoutingResult(require('../turnNavigation/response-hoyerswerda2.json'))
3031
let reroute1 = toRoutingResult(require('../turnNavigation/reroute1.json'))

0 commit comments

Comments
 (0)