linting fix

pull/5370/head
Aniket-Engg 3 years ago committed by yann300
parent 6e54f8bdc7
commit 53e2b5eab1
  1. 2
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -152,7 +152,7 @@ export const loadWorkspacePreset = async (template: WorkspaceTemplate = 'remixDe
default: default:
try { try {
// const templateWithContent = await import('../templates') // const templateWithContent = await import('../templates')
const templateWithContent = require('remix-ws-templates') const templateWithContent = await import('remix-ws-templates')
const templateList = Object.keys(templateWithContent) const templateList = Object.keys(templateWithContent)
if (!templateList.includes(template)) break if (!templateList.includes(template)) break
const files = templateWithContent[template] const files = templateWithContent[template]

Loading…
Cancel
Save