Skip to content

Commit 0a4dbf7

Browse files
committed
refac
1 parent fcbdfbd commit 0a4dbf7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/components/chat/Artifacts.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@
123123
if (contents.length === 0) {
124124
showControls.set(false);
125125
showArtifacts.set(false);
126+
127+
toast.error($i18n.t('No HTML, CSS, or JavaScript content found.'));
126128
}
127129
128130
selectedContentIdx = contents ? contents.length - 1 : 0;

0 commit comments

Comments
 (0)