diff --git a/libs/remix-ui/workspace/src/lib/actions/workspace.ts b/libs/remix-ui/workspace/src/lib/actions/workspace.ts index ac330a15ee..cd90555077 100644 --- a/libs/remix-ui/workspace/src/lib/actions/workspace.ts +++ b/libs/remix-ui/workspace/src/lib/actions/workspace.ts @@ -309,11 +309,11 @@ export const loadWorkspacePreset = async (template: WorkspaceTemplate = 'remixDe if (params.ghfolder) { const files = await plugin.call('contentImport', 'resolveGithubFolder', params.ghfolder) console.log(files) - for (const [path, content] of Object.entries(files)) { + for (const [path, content] of Object.entries(files)) { await workspaceProvider.set(path, content) } - } - + } + return path } catch (e) { console.error(e)