Nasty errors in the console when on a non ENS-supported chain #429
-
and
So to me it looks like the functions lookupAddress and getAvatar gets called when they shouldn't. How do I prevent them from running when I'm on a non-ethereum blockchain such as polygon? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Looks like this has something to do with development mode with next.js. Errors are gone if I run in production mode. |
Beta Was this translation helpful? Give feedback.
-
As of RainbowKit v0.4.1, we only ever request ENS names and avatars from mainnet, and in RainbowKit v0.4.4 we now only make ENS requests when mainnet is in your list of configured chains which will prevent these errors from occurring. |
Beta Was this translation helpful? Give feedback.
As of RainbowKit v0.4.1, we only ever request ENS names and avatars from mainnet, and in RainbowKit v0.4.4 we now only make ENS requests when mainnet is in your list of configured chains which will prevent these errors from occurring.