Timothy Jaeryang Baek 1 week ago
parent
commit
f3deb8b8de
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/lib/components/layout/Sidebar.svelte

+ 0 - 3
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);
 						}