invalid address or ENS name (argument="name", value=undefined.....)

This is the error I get trying to run my functions in useEffect (I used same function in SSR and it worked fine)
This error should come from when I am creating an instance of the contract right?

Sep 14, 2022, 10:41 AM
this typically happens when a function expects an address but you provide it with something else. probably missing myvariable.address somewhere
Sep 14, 2022, 10:45 AM
Thanks. The error came from my router.query
It wasn't mounted fully before I called for the address it got
Sep 14, 2022, 11:08 AM

© 2024 Draquery.com All rights reserved.