pull/5370/head
filip mertens 2 years ago committed by Aniket
parent e530d7caac
commit e4af3bd241
  1. 1
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -135,6 +135,7 @@ export const createWorkspace = async (workspaceName: string, workspaceTemplateNa
}
}
cb && cb(null, workspaceName)
// this call needs to be here after the callback because it calls dGitProvider which also calls this function and that would cause an infinite loop
await plugin.setWorkspaces(await getWorkspaces())
}).catch((error) => {
dispatch(createWorkspaceError({ error }))

Loading…
Cancel
Save