Skip to content

Commit

Permalink
getgoogleMaps might be null
Browse files Browse the repository at this point in the history
  • Loading branch information
wbazant committed Dec 2, 2024
1 parent 4a224c5 commit ec09259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/map/ConnectGeolocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const MIN_TRACKING_ZOOM = 16

export const ConnectGeolocation = () => {
const { googleMap, getGoogleMaps } = useSelector((state) => state.map)
const maps = getGoogleMaps()
const maps = getGoogleMaps ? getGoogleMaps() : null
const dispatch = useDispatch()
const [isMapMoving, setIsMapMoving] = useState(false)

Expand Down

0 comments on commit ec09259

Please sign in to comment.