<template>
  <div class="h-full min-h-0">
    <MapPageWrapper>
      <MapErrorBoundary>
        <MapView :character-id="characterId" />
      </MapErrorBoundary>
    </MapPageWrapper>
  </div>
</template>

<script setup lang="ts">
const route = useRoute()
const characterId = computed(() => Number(route.params.characterId) || -1)
</script>
