Commit 45db3361 authored by yann300's avatar yann300 Committed by Aniket

linting

parent 07e7d478
import * as packageJson from '../../../../../package.json' import * as packageJson from '../../../../../package.json'
import { Plugin } from '@remixproject/engine' import { Plugin } from '@remixproject/engine'
import Web3 from 'web3' import Web3 from 'web3'
import toaster from '../ui/tooltip'
const yo = require('yo-yo') const yo = require('yo-yo')
const modalDialogCustom = require('../ui/modal-dialog-custom') const modalDialogCustom = require('../ui/modal-dialog-custom')
...@@ -70,7 +69,7 @@ export default class HardhatProvider extends Plugin { ...@@ -70,7 +69,7 @@ export default class HardhatProvider extends Plugin {
modalDialogCustom.alert('Hardhat', `Error while connecting to the hardhat provider: ${error.message}`) modalDialogCustom.alert('Hardhat', `Error while connecting to the hardhat provider: ${error.message}`)
await this.call('udapp', 'setEnvironmentMode', 'vm') await this.call('udapp', 'setEnvironmentMode', 'vm')
this.provider = null this.provider = null
setTimeout(_ => this.blocked = false, 1000) setTimeout(_ => { this.blocked = false }, 1000)
return reject(error) return reject(error)
} }
resolve(message) resolve(message)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment