# Crash Fix: ReferenceError in MapPage.mobile.vue

## Problem
The application was crashing with `ReferenceError: Cannot access 'state' before initialization` in `MapPage.mobile.vue`.
This was caused by a `watch` block that accessed `state` (returned from `useMapPresetManager`) being placed *before* the `useMapPresetManager` call itself.

## Solution
Moved the simulation logic `watch` block to be *after* the `useMapPresetManager` initialization.

## Changes
- **File**: `apps/web/src/modules/map/pages/MapPage.mobile.vue`
- **Action**: Relocated the `watch(() => state.value.currentPreset, ...)` block from line ~608 to line ~630 (after `useMapPresetManager`).

## Verification
1. Reload the application.
2. The "Cannot access 'state' before initialization" error should be gone.
3. Navigation simulation should still work (as the logic remains valid, just reordered).
