Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Hook React.useEffect has missing dependencies #5

Open
david-speakslow opened this issue Jan 19, 2022 · 1 comment
Open

React Hook React.useEffect has missing dependencies #5

david-speakslow opened this issue Jan 19, 2022 · 1 comment

Comments

@david-speakslow
Copy link

I have always the same problem during the run:
React Hook React.useEffect has missing dependencies: 'collectionCtx', 'marketplaceCtx', and 'web3Ctx'. Either include them or remove the dependency array react-hooks/exhaustive-deps

Does anyone know how to fix it?

@CadencePrestissimo
Copy link

// eslint-disable-next-line react-hooks/exhaustive-deps
Put this comment before the line on which the error shows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants