Skip to content

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.

@SimonFinney SimonFinney force-pushed the ignore-eslint-warning branch from ac1a2d9 to 8b54871 Compare October 29, 2021 16:54
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.

1 participant