Prechádzať zdrojové kódy

fix: await content load

Timothy J. Baek 1 rok pred
rodič
commit
63d380231a

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

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