Getting no-op warning: Can't perform a React state update on an unmounted component. #1220
Closed
HugoSanchez
started this conversation in
Feedback
Replies: 1 comment
-
If you're still seeing this issue, please open a new Issue on the repo with a reproducible example and we can investigate. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
I'm getting this warning when using RainbowKit:
Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
What's strange enough is that this only happens when selecting Metamask in the modal, but it doesn't happen when selecting Rainbow Wallet for instance.
I must be doing something wrong but couldn't figure out what it is. Do yo have any clues?
I'm using
React 17.0.2
Nextjs 12.0.3
@rainbowkit 0.12.13
wagmi 0.12.13
I've tried using WalletConnect's web3Modal and the error stops happening.
Any tips would be much appreciated!
Thanks,
Hugo
Beta Was this translation helpful? Give feedback.
All reactions