Skip to content

[BUG] Library.jsx has some useEffect issues after today's merge(s). #160

Description

@gbowne1

Compiled with warnings.

[eslint]
src/components/Library/Library.jsx
Line 337:8: React Hook React.useEffect has a missing dependency: 'myRows'. Either include it or remove the dependency array. You can also do a functional update 'setMyRows(m => ...)' if you only need 'myRows' in the 'setMyRows' call react-hooks/exhaustive-deps

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in [eslint]
src/components/Library/Library.jsx
Line 337:8: React Hook React.useEffect has a missing dependency: 'myRows'. Either include it or remove the dependency array. You can also do a functional update 'setMyRows(m => ...)' if you only need 'myRows' in the 'setMyRows' call react-hooks/exhaustive-deps

webpack compiled with 1 warning

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions