pull/1890/head
yann300 3 years ago
parent fcc475da78
commit b4823c5bfb
  1. 5
      apps/remix-ide/src/app/tabs/hardhat-provider.js

@ -56,13 +56,16 @@ export default class HardhatProvider extends Plugin {
cancelFn: (value) => {
setTimeout(() => reject(new Error('Canceled')), 0)
},
hideFn: (value) => {
setTimeout(() => reject(new Error('Hide')), 0)
},
defaultValue: 'http://127.0.0.1:8545'
}
this.call('modal', 'modal', modalContent)
})
})()
} catch (e) {
// the modal has been canceled
// the modal has been canceled/hide
return
}
this.provider = new Web3.providers.HttpProvider(target)

Loading…
Cancel
Save