From 53e2b5eab13e76ccc05e89331b899aa22633be76 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Mon, 9 May 2022 10:58:13 +0530 Subject: [PATCH] linting fix --- libs/remix-ui/workspace/src/lib/actions/workspace.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/workspace/src/lib/actions/workspace.ts b/libs/remix-ui/workspace/src/lib/actions/workspace.ts index 1240b790c8..20b3ca8d02 100644 --- a/libs/remix-ui/workspace/src/lib/actions/workspace.ts +++ b/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]