pull/3097/head
filip mertens 2 years ago committed by Aniket
parent 72c91d0afe
commit 3efd573629
  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