Lint
This commit is contained in:
parent
4a0f00f2a4
commit
18ace123dc
13 changed files with 59 additions and 33 deletions
|
|
@ -522,7 +522,12 @@ export default function MapPage({
|
|||
setDemoPromptOpen(false);
|
||||
// handleFlyTo uses map.jumpTo (instant) — no flashing 403s through
|
||||
// intermediate viewports; the move triggers a refetch carrying demoLat/Lon.
|
||||
mapFlyToRef.current?.(center.lat, center.lon, INITIAL_VIEW_STATE.zoom, getMobileMapFlyToOptions());
|
||||
mapFlyToRef.current?.(
|
||||
center.lat,
|
||||
center.lon,
|
||||
INITIAL_VIEW_STATE.zoom,
|
||||
getMobileMapFlyToOptions()
|
||||
);
|
||||
};
|
||||
if (typeof navigator === 'undefined' || !navigator.geolocation) {
|
||||
setDemoLocationError(t('locationSearch.geolocationUnsupported'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue