@tripian/react 9.3.1 → 9.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -33325,8 +33325,13 @@ const GPlacesAutocomplete2 = ({ onSelectedChanged, initialText, boundry, placeho
33325
33325
  return () => {
33326
33326
  const pacContainers = document.getElementsByClassName('pac-container');
33327
33327
  for (let i = 0; i < pacContainers.length; i += 1) {
33328
- const pacContainer = pacContainers[i];
33329
- pacContainer.remove();
33328
+ try {
33329
+ const pacContainer = pacContainers[i];
33330
+ pacContainer.remove();
33331
+ }
33332
+ catch (e) {
33333
+ console.info('GPlaces');
33334
+ }
33330
33335
  }
33331
33336
  };
33332
33337
  }, []);