Timothy Jaeryang Baek 2 달 전
부모
커밋
0a4dbf7cf0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/lib/components/chat/Artifacts.svelte

+ 2 - 0
src/lib/components/chat/Artifacts.svelte

@@ -123,6 +123,8 @@
 		if (contents.length === 0) {
 			showControls.set(false);
 			showArtifacts.set(false);
+
+			toast.error($i18n.t('No HTML, CSS, or JavaScript content found.'));
 		}
 
 		selectedContentIdx = contents ? contents.length - 1 : 0;