Skip to content

Commit b43c58a

Browse files
committed
up
1 parent a6e545f commit b43c58a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/composables/useChats.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const useChats = createSharedComposable(() => {
1414
const chats = ref<Chat[]>([])
1515

1616
const fetchChats = async () => {
17-
chats.value = await $fetch('/api/chats').then(data => data.map((chat: Chat) => ({
17+
chats.value = await $fetch('/api/chats').then(data => data.map(chat => ({
1818
id: chat.id,
1919
label: chat.title || 'Untitled',
2020
to: `/chat/${chat.id}`,

0 commit comments

Comments
 (0)