refac
This commit is contained in:
1 parent
c90cd6019a
commit
f5e10704c0
1 file changed
+1
-1
@@ -73,7 +73,7 @@
|
||||
on:code={(e) => {
|
||||
const { lang } = e.detail;
|
||||
console.log('code', lang);
|
||||
if (lang === 'html') {
|
||||
if (['html', 'svg'].includes(lang)) {
|
||||
showArtifacts.set(true);
|
||||
showControls.set(true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user