Skip to content

Commit edf9da5

Browse files
committed
fix(app): missing type on fetch
1 parent c435618 commit edf9da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/layouts/default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const deleteModal = overlay.create(LazyModalConfirm, {
1515
}
1616
})
1717
18-
const { data: chats, refresh: refreshChats } = await useFetch('/api/chats', {
18+
const { data: chats, refresh: refreshChats } = await useFetch<Chat[]>('/api/chats', {
1919
key: 'chats',
2020
transform: data => data.map(chat => ({
2121
id: chat.id,

0 commit comments

Comments
 (0)