Geovation/photos

View on GitHub
src/store/GeolocationContext.js

Summary

Maintainability
A
1 hr
Test Coverage

Function GeolocationContextProvider has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const GeolocationContextProvider = (props) => {
  const [geolocation, setGeolocation] = useState(new MapLocation());
  const locationWatherId = useRef(null);

  useEffect(() => {
Severity: Minor
Found in src/store/GeolocationContext.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status