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

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