mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-14 03:54:11 +00:00
remove window.ens
This commit is contained in:
parent
167281179f
commit
242204bfbd
@ -108,8 +108,6 @@ export const getProviderInfo: Function = async (): Promise<ProviderProps> => {
|
||||
|
||||
export const getAddressFromENS = async (name: string) => {
|
||||
const ens = new ENS(web3)
|
||||
// window.web3provider = web3
|
||||
window.ens = ens
|
||||
const address = await ens.resolver(name).addr()
|
||||
|
||||
return address
|
||||
|
Loading…
x
Reference in New Issue
Block a user