From f3deb8b8de7226bcc018f410091a920ad09944fc Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 16 Jun 2025 14:01:03 +0400 Subject: [PATCH] refac --- src/lib/components/layout/Sidebar.svelte | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 3b784a1cb9..e0ebfab88c 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -492,10 +492,7 @@ selectedChatId = null; await temporaryChatEnabled.set(false); - await goto('/'); - const newChatButton = document.getElementById('new-chat-button'); setTimeout(() => { - newChatButton?.click(); if ($mobile) { showSidebar.set(false); }