Browse Source

fix: await content load

Timothy J. Baek 1 năm trước cách đây
mục cha
commit
63d380231a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/routes/(app)/prompts/create/+page.svelte

+ 1 - 0
src/routes/(app)/prompts/create/+page.svelte

@@ -62,6 +62,7 @@
 			console.log(prompt);
 
 			title = prompt.title;
+			await tick();
 			content = prompt.content;
 			command = prompt.command;
 		});