Browse Source

fix: trailing "assistant" message issue

Timothy J. Baek 1 year ago
parent
commit
6d2d2d5519
2 changed files with 0 additions and 4 deletions
  1. 0 2
      src/routes/(app)/+page.svelte
  2. 0 2
      src/routes/(app)/c/[id]/+page.svelte

+ 0 - 2
src/routes/(app)/+page.svelte

@@ -365,8 +365,6 @@
 					];
 				}
 
-				await tick();
-
 				window.scrollTo({ top: document.body.scrollHeight });
 
 				const res = await fetch(

+ 0 - 2
src/routes/(app)/c/[id]/+page.svelte

@@ -379,8 +379,6 @@
 					];
 				}
 
-				await tick();
-
 				window.scrollTo({ top: document.body.scrollHeight });
 
 				const res = await fetch(