2022-11-14 01:05:32 +09:00
|
|
|
<script setup lang="ts">
|
|
|
|
const props = defineProps<{
|
|
|
|
modelValue?: boolean
|
|
|
|
}>()
|
|
|
|
|
|
|
|
const params = useRoute().params
|
2022-11-14 12:33:09 +09:00
|
|
|
|
|
|
|
const masto = await useMasto()
|
|
|
|
const { data: status } = await useAsyncData(() => masto.statuses.fetch(params.post as string))
|
2022-11-14 01:05:32 +09:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-14 12:33:09 +09:00
|
|
|
<div w-130>
|
|
|
|
<StatusCard :status="status" />
|
2022-11-14 01:05:32 +09:00
|
|
|
</div>
|
|
|
|
</template>
|