[Help] useEffect cann't use useReadContracts? #5209
Unanswered
qq378488249
asked this question in
Developer Support
Replies: 2 comments
-
You can't use a hook inside a hook. Unsure of what you are trying to accomplish but you could use the following inside the useEffect: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can't use a hook inside a hook. If problem is continuous, contact me. I will solved. |
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
-
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
Beta Was this translation helpful? Give feedback.
All reactions