linting fix

pull/2368/head
Aniket-Engg 3 years ago committed by yann300
parent 534da6ae50
commit 45473e7a0d
  1. 2
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

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

Loading…
Cancel
Save