<template>
  <file-previewer :file-id="id" />
</template>

<script setup lang="ts">
  definePageMeta({
    layout: 'preview',
  });

  const route = useRoute();

  const id = computed(() => route.params.id as string);
</script>
