This commit is contained in:
Timothy Jaeryang Baek 2025-02-26 23:41:09 -08:00
parent fcbdfbd744
commit 0a4dbf7cf0

View File

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