fix: resolve scroll flickering on message send and improve thinking state animation (#1333)
This commit is contained in:
parent
d0b6f37aee
commit
a3802348fa
14 changed files with 225 additions and 174 deletions
|
|
@ -134,7 +134,7 @@ export async function deleteAllChatsByUserId({ userId }: { userId: string }) {
|
|||
return { deletedCount: 0 };
|
||||
}
|
||||
|
||||
const chatIds = userChats.map(c => c.id);
|
||||
const chatIds = userChats.map((c) => c.id);
|
||||
|
||||
await db.delete(vote).where(inArray(vote.chatId, chatIds));
|
||||
await db.delete(message).where(inArray(message.chatId, chatIds));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue