Argument of type '{ loading: false; timestamp: number; latitude: number; longitude: number; altitude: number | null; accuracy: number; altitudeAccuracy: number | null; heading: number | null; speed: number | null; error: null; }' is not assignable to parameter of type 'SetStateAction<GeolocationState>'.