pull/4998/head
yann300 5 months ago
parent f97b96478c
commit dfed73e4b6
  1. 6
      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)

Loading…
Cancel
Save