This commit is contained in:
Timothy J. Baek 2024-10-06 00:50:38 -07:00
parent c90cd6019a
commit f5e10704c0

View File

@ -73,7 +73,7 @@
on:code={(e) => { on:code={(e) => {
const { lang } = e.detail; const { lang } = e.detail;
console.log('code', lang); console.log('code', lang);
if (lang === 'html') { if (['html', 'svg'].includes(lang)) {
showArtifacts.set(true); showArtifacts.set(true);
showControls.set(true); showControls.set(true);
} }