diff --git a/src/pages/writing/index.vue b/src/pages/writing/index.vue index 639907f..8b785e6 100644 --- a/src/pages/writing/index.vue +++ b/src/pages/writing/index.vue @@ -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('"', '')