Fix error in writing page

This commit is contained in:
2023-12-14 19:31:09 +01:00
parent 2f47604240
commit 28085c71b2

View File

@@ -6,7 +6,7 @@ useHead({
title: 'My Shelf • Arthur Danjou',
})
const { data: posts } = await usePosts()
const { data: posts } = await getPosts()
const format = (date: string) => useDateFormat(date, 'D MMMM YYYY').value.replaceAll('"', '')
</script>