remove warnings from (development) frontend
Currently running "npm start" I get many warnings .. see the pasted lines below. I'm wondering if my application is fully functional. Commit is 552df140:
Compiled with warnings.
./src/components/LineChart/index.jsx
Line 141:6: React Hook useEffect has a missing dependency: 'chart'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 147:6: React Hook useEffect has a missing dependency: 'chart'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/views/TestVTK/index.jsx
Line 21:6: React Hook useEffect has missing dependencies: 'createFiles' and 'files.length'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/components/VTKViewer/index.jsx
Line 2:41: 'ButtonToolbar' is defined but never used no-unused-vars
Line 97:6: React Hook useEffect has missing dependencies: 'fileToReader', 'files', and 'reader'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 105:6: React Hook useEffect has missing dependencies: 'fileIndex', 'fileToReader', 'files', and 'reader'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 268:6: React Hook useEffect has a missing dependency: 'fileIndex'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 342:6: React Hook useEffect has a missing dependency: 'increaseFileIndex'. 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.