Skip to content

Commit 80d6601

Browse files
Algorithm5838github-actions[bot]
authored andcommitted
perf: remove unnecessary await tick() from chatEventHandler hot path
1 parent 260911c commit 80d6601

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
@@ -417,7 +417,6 @@
417417
console.log(event);
418418
419419
if (event.chat_id === $chatId) {
420-
await tick();
421420
let message = history.messages[event.message_id];
422421
423422
if (message) {

0 commit comments

Comments
 (0)