message: map geocodes on initial load
diff: @@ -74,8 +74,7 @@ const WebClientMap: React.FC<MapProps> = ({
  };
  useEffect(() => {
  - if (Geocoder && geocodingAddress) {
  - Geocoder.geocode({ address: geocodingAddress }, (result, status) => {
  + const geocodeCallback = (result, status) => {
  if (status === 'OK' && result && result.length) {
  if (onGeocode) {
  const lat = result[0].geometry.location.lat();
  @@ -88,9 +87,16 @@ const WebClientMap: React.FC<MapProps> = ({
  } else {
  console.error('Unable to geocode');
  }
  - });
  + };
  +
  + if (Geocoder) {
  + if (geocodingAddress) {
  + Geocoder.geocode({ address: geocodingAddress }, geocodeCallback);
  + } else {
  + Geocoder.geocode({ location: origin }, geocodeCallback);
  + }
  }
  - }, [Geocoder, geocodingAddress, onGeocode]);
  + }, [Geocoder, geocodingAddress]);
  const secondsToTimestring = (seconds: number) =>
  moment.duration(seconds, 'seconds').humanize();
  