eslint fix
This commit is contained in:
parent
396c7340c7
commit
1674d74de0
|
@ -41,14 +41,14 @@ const getProviderName: Function = (web3Provider): boolean => {
|
||||||
let name
|
let name
|
||||||
|
|
||||||
switch (web3Provider.currentProvider.constructor.name) {
|
switch (web3Provider.currentProvider.constructor.name) {
|
||||||
case 'SafeWeb3Provider':
|
case 'SafeWeb3Provider':
|
||||||
name = WALLET_PROVIDER.SAFE
|
name = WALLET_PROVIDER.SAFE
|
||||||
break
|
break
|
||||||
case 'MetamaskInpageProvider':
|
case 'MetamaskInpageProvider':
|
||||||
name = WALLET_PROVIDER.METAMASK
|
name = WALLET_PROVIDER.METAMASK
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
name = 'UNKNOWN'
|
name = 'UNKNOWN'
|
||||||
}
|
}
|
||||||
|
|
||||||
return name
|
return name
|
||||||
|
|
Loading…
Reference in New Issue