move the call

pull/5370/head
filip mertens 2 years ago committed by Aniket
parent 482b7e4fb8
commit e530d7caac
  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)
await plugin.setWorkspaces(await getWorkspaces())
}).catch((error) => {
dispatch(createWorkspaceError({ error }))
cb && cb(error)

Loading…
Cancel
Save