mirror of
https://github.com/elk-zone/elk
synced 2024-12-05 02:08:09 +09:00
17 lines
335 B
Vue
17 lines
335 B
Vue
<script setup lang="ts">
|
|
const props = defineProps<{
|
|
modelValue?: boolean
|
|
}>()
|
|
|
|
const params = useRoute().params
|
|
|
|
const masto = await useMasto()
|
|
const { data: status } = await useAsyncData(() => masto.statuses.fetch(params.post as string))
|
|
</script>
|
|
|
|
<template>
|
|
<div w-130>
|
|
<StatusCard :status="status" />
|
|
</div>
|
|
</template>
|