Skip to content

Commit 82394cf

Browse files
Algorithm5838github-actions[bot]
authored andcommitted
perf: remove unnecessary await tick() from chatEventHandler hot path
1 parent faa6468 commit 82394cf

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/lib/components/chat/Chat.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@
397397
console.log(event);
398398
399399
if (event.chat_id === $chatId) {
400-
await tick();
401400
let message = history.messages[event.message_id];
402401
403402
if (message) {

0 commit comments

Comments
 (0)