linting fix

pull/2353/head
Aniket-Engg 3 years ago
parent 028f40e643
commit 6ad393fd5e
  1. 4
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -150,6 +150,7 @@ export const loadWorkspacePreset = async (template: workspaceTemplate = 'remixDe
break break
default: default:
try {
const templateWithContent = await import('../templates') const templateWithContent = await import('../templates')
const templateList = Object.keys(templateWithContent) const templateList = Object.keys(templateWithContent)
if (!templateList.includes(template)) break if (!templateList.includes(template)) break
@ -161,6 +162,9 @@ export const loadWorkspacePreset = async (template: workspaceTemplate = 'remixDe
console.error(error) console.error(error)
} }
} }
} catch (e) {
console.error(e)
}
break break
} }
} }

Loading…
Cancel
Save