@ttoss/google-maps 2.1.15 → 2.1.16
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/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -173,7 +173,7 @@ var useMap = /* @__PURE__ */__name((options = {}) => {
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
setMap(new google.maps.Map(ref.current, options));
|
|
176
|
-
}, [map, isReady, ref, google.maps, options]);
|
|
176
|
+
}, [map, isReady, ref, google.maps?.Map, options]);
|
|
177
177
|
const optionsStringify = JSON.stringify(options);
|
|
178
178
|
React5.useEffect(() => {
|
|
179
179
|
if (map) {
|