fix: type error

master
Avraham Sakal 3 weeks ago
parent 185a16be6f
commit 542b6e45c3

@ -323,7 +323,7 @@ export default function ChatPage() {
title, title,
} as Conversation, } as Conversation,
]; ];
queryClient.setQueryData( queryClient.setQueryData<Array<Conversation>>(
trpc.chat.conversations.fetchAll.queryKey(), trpc.chat.conversations.fetchAll.queryKey(),
newConversations newConversations
); );

Loading…
Cancel
Save