mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 12:07:09 +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) => {
|
export const getAddressFromENS = async (name: string) => {
|
||||||
const ens = new ENS(web3)
|
const ens = new ENS(web3)
|
||||||
// window.web3provider = web3
|
|
||||||
window.ens = ens
|
|
||||||
const address = await ens.resolver(name).addr()
|
const address = await ens.resolver(name).addr()
|
||||||
|
|
||||||
return address
|
return address
|
||||||
|
Loading…
x
Reference in New Issue
Block a user