src/store/GeolocationContext.js
Function GeolocationContextProvider
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const GeolocationContextProvider = (props) => {
const [geolocation, setGeolocation] = useState(new MapLocation());
const locationWatherId = useRef(null);
useEffect(() => {