Skip to content
New issue

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

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

Already on GitHub? # 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>
@SimonFinney SimonFinney force-pushed the ignore-eslint-warning branch from ac1a2d9 to 8b54871 Compare October 29, 2021 16:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant