fix(map): surface geolocation failures as a localized toast

This commit is contained in:
Maurice
2026-09-01 19:00:14 +02:00
committed by Maurice
parent cfe2b80a5d
commit 46a89e7a90
31 changed files with 249 additions and 8 deletions
@@ -36,6 +36,7 @@ const geoMock = vi.hoisted(() => ({
position: null as { lat: number; lng: number; accuracy: number; heading: number | null } | null,
mode: 'off' as 'off' | 'show' | 'follow',
error: null as string | null,
errorCode: null as string | null,
cycleMode: vi.fn(),
setMode: vi.fn(),
}))