lint code

This commit is contained in:
2023-09-05 00:34:18 +02:00
parent 6cd432ed10
commit 3912d53178
3 changed files with 31 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import type { Post } from '~~/types';
import type { Post } from '~~/types'
const route = useRoute()
const { data: postContent } = await useAsyncData<Post>(`writing:${route.params.slug}`, async () => await queryContent<Post>(`/writing/${route.params.slug}`).findOne())