Fixed failing solidity unit testing plugin test

pull/5370/head
ioedeveloper 3 years ago
parent c1809a4d04
commit 0e0610708a
  1. 2
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -42,7 +42,7 @@ export const createWorkspace = async (workspaceName: string) => {
promise.then(async () => { promise.then(async () => {
dispatch(createWorkspaceSuccess(workspaceName)) dispatch(createWorkspaceSuccess(workspaceName))
await loadWorkspacePreset('default-template') await loadWorkspacePreset('default-template')
// await switchToWorkspace(workspaceName) plugin.emit('setWorkspace', { name: workspaceName, isLocalhost: false })
}).catch((error) => { }).catch((error) => {
dispatch(createWorkspaceError({ error })) dispatch(createWorkspaceError({ error }))
}) })

Loading…
Cancel
Save