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

chore: disable false positive lint warning #143

Open
wants to merge 1 commit into
base: dev-setup
Choose a base branch
from

Conversation

SimonFinney
Copy link

ESLint was surfacing the following error in Events/index.js:

React Hook useEffect has a missing dependency: 'addToast'. Either include it or remove the dependency array

As addToast should only run once, the dependency array should remain empty — this PR ignores the lint warning.

Signed-off-by: Simon Finney <SIMONFIN@ie.ibm.com>
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

Successfully merging this pull request may close these issues.

None yet

1 participant