gbowne1 / codebooker

This is a book recommendation app created with React 18.2 and MUI for coders/programmers looking for reccomendations to books on programming/coding to read
MIT License
31 stars 57 forks source link

[Bug] Library.jsx useEffect has missing dependency #213

Closed gbowne1 closed 8 months ago

gbowne1 commented 8 months ago

when the App starts, ESLint reports:

Compiled with warnings.

[eslint] 
src/components/Library/Library.jsx
  Line 418:8:  React Hook useEffect has a missing dependency: 'fetchBooksFromDB'. Either include it or remove the dependency array  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 418:8:  React Hook useEffect has a missing dependency: 'fetchBooksFromDB'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

webpack compiled with 1 warning