From 1db36b5eda5f4c7657372b5ab658387a84853c67 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 1 Mar 2026 12:38:59 -0600 Subject: [PATCH] refac Co-Authored-By: Shirasawa --- src/lib/components/layout/Sidebar/ChatItem.svelte | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib/components/layout/Sidebar/ChatItem.svelte b/src/lib/components/layout/Sidebar/ChatItem.svelte index 1e66026d6..3a4f16e79 100644 --- a/src/lib/components/layout/Sidebar/ChatItem.svelte +++ b/src/lib/components/layout/Sidebar/ChatItem.svelte @@ -79,9 +79,6 @@ let mouseOver = false; let draggable = false; - $: if (mouseOver) { - loadChat(); - } const loadChat = async () => { if (!chat) { @@ -209,8 +206,7 @@ 'text/plain', JSON.stringify({ type: 'chat', - id: id, - item: chat + id: id }) );