While functional, the following warnings show up when the React server is launched:
Compiled with warnings.
[eslint]
src/components/HeroSection.jsx
Line 2:8: 'openMainFrameLogo' is defined but never used no-unused-vars
src/components/SearchBar.jsx
Line 41:6: React Hook useEffect has a missing dependency: 'isNoDistributionSelected'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src/components/SearchResults.jsx
Line 15:6: React Hook useEffect has a missing dependency: 'updateAvailableDistributions'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 19:6: React Hook useEffect has a missing dependency: 'updatePaginatedResults'. 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/HeroSection.jsx
Line 2:8: 'openMainFrameLogo' is defined but never used no-unused-vars
src/components/SearchBar.jsx
Line 41:6: React Hook useEffect has a missing dependency: 'isNoDistributionSelected'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src/components/SearchResults.jsx
Line 15:6: React Hook useEffect has a missing dependency: 'updateAvailableDistributions'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 19:6: React Hook useEffect has a missing dependency: 'updatePaginatedResults'. Either include it or remove the dependency array react-hooks/exhaustive-deps
webpack compiled with 1 warning
While functional, the following warnings show up when the React server is launched: