Skip to content

Commit 5164c49

Browse files
Algorithm5838github-actions[bot]
authored andcommitted
perf: remove unnecessary await tick() from chatEventHandler hot path
1 parent 9ddcbfc commit 5164c49

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
@@ -399,7 +399,6 @@
399399
console.log(event);
400400
401401
if (event.chat_id === $chatId) {
402-
await tick();
403402
let message = history.messages[event.message_id];
404403
405404
if (message) {

0 commit comments

Comments
 (0)