Merge branch 'master' of https://github.com/ethereum/remix-project into monacolocal

pull/1813/head
bunsenstraat 3 years ago
commit c0bb1e17d8
  1. 2
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -223,7 +223,7 @@ export const switchToWorkspace = async (name: string) => {
} else {
const isActive = await plugin.call('manager', 'isActive', 'remixd')
if (isActive) plugin.call('manager', 'deactivatePlugin', 'remixd')
if (isActive) await plugin.call('manager', 'deactivatePlugin', 'remixd')
await plugin.fileProviders.workspace.setWorkspace(name)
plugin.setWorkspace({ name, isLocalhost: false })
dispatch(setMode('browser'))

Loading…
Cancel
Save