fix linting

pull/3421/head
yann300 2 years ago committed by Aniket
parent c10940e0d5
commit 781083ca4b
  1. 2
      apps/remix-ide/src/app/providers/injected-provider.tsx

@ -35,7 +35,7 @@ export class InjectedProvider extends Plugin implements IProvider {
async init () { async init () {
const injectedProvider = (window as any).ethereum const injectedProvider = (window as any).ethereum
if (injectedProvider === undefined) { if (injectedProvider === undefined) {
this.call('notification', 'toast', noInjectedProviderMsg) this.call('notification', 'toast', noInjectedProviderMsg)
throw new Error(noInjectedProviderMsg) throw new Error(noInjectedProviderMsg)
} else { } else {
if (injectedProvider && injectedProvider._metamask && injectedProvider._metamask.isUnlocked) { if (injectedProvider && injectedProvider._metamask && injectedProvider._metamask.isUnlocked) {

Loading…
Cancel
Save