Skip to content

Commit 901f3c3

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

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

0 commit comments

Comments
 (0)