mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-29 19:30:33 +01:00
lint code
This commit is contained in:
@@ -5,8 +5,7 @@ const items = [
|
|||||||
label: 'Talents',
|
label: 'Talents',
|
||||||
to: '/talents',
|
to: '/talents',
|
||||||
icon: 'i-ph-users-bold',
|
icon: 'i-ph-users-bold',
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
label: 'Bookmarks',
|
label: 'Bookmarks',
|
||||||
to: '/bookmarks',
|
to: '/bookmarks',
|
||||||
icon: 'i-ph-bookmark-simple-bold',
|
icon: 'i-ph-bookmark-simple-bold',
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { Post } from '~~/types';
|
import type { Post } from '~~/types'
|
||||||
|
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
const { data: postContent } = await useAsyncData<Post>(`writing:${route.params.slug}`, async () => await queryContent<Post>(`/writing/${route.params.slug}`).findOne())
|
const { data: postContent } = await useAsyncData<Post>(`writing:${route.params.slug}`, async () => await queryContent<Post>(`/writing/${route.params.slug}`).findOne())
|
||||||
|
|||||||
Reference in New Issue
Block a user