lint code

This commit is contained in:
2023-09-05 00:19:35 +02:00
parent 77e3b6975f
commit 8cb6aa97b8
4 changed files with 15 additions and 14 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())