Refactor(json schema): Optimize import map json schema
This commit is contained in:
@@ -34,7 +34,7 @@ const Playground = ({
|
||||
try {
|
||||
setImportMap(JSON.parse(importMapRaw) as IImportMap)
|
||||
} catch (e) {
|
||||
setImportMap({ imports: {} })
|
||||
setImportMap({})
|
||||
}
|
||||
}
|
||||
if (!tsconfig) {
|
||||
|
||||
Reference in New Issue
Block a user