Remove Warning
gagahpangeran opened this issue · 0 comments
gagahpangeran commented
Remove this warning when application running without break it.
Compiled with warnings.
./src/pages/Page.jsx
Line 19:6: React Hook useEffect has a missing dependency: 'actions'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/pages/Search.jsx
Line 28:6: React Hook useEffect has missing dependencies: 'actions' and 'history'. Either include them 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.