utopia-ui 3.0.109 → 3.0.110
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/Profile.cjs.js +4 -11
- package/dist/Profile.cjs.js.map +1 -1
- package/dist/Profile.esm.js +4 -11
- package/dist/Profile.esm.js.map +1 -1
- package/dist/TagView-CMB4TDak.js +2556 -0
- package/dist/TagView-CMB4TDak.js.map +1 -0
- package/dist/TagView-JE1Z2opU.js +2468 -0
- package/dist/TagView-JE1Z2opU.js.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +2 -2
- package/package.json +1 -1
package/dist/Profile.cjs.js
CHANGED
@@ -4,7 +4,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
5
5
|
var reactRouterDom = require('react-router-dom');
|
6
6
|
var reactToastify = require('react-toastify');
|
7
|
-
var TagView = require('./TagView-
|
7
|
+
var TagView = require('./TagView-CMB4TDak.js');
|
8
8
|
var leaflet = require('leaflet');
|
9
9
|
var axios = require('axios');
|
10
10
|
require('react-inlinesvg');
|
@@ -816,17 +816,10 @@ function ProfileView({ attestationApi }) {
|
|
816
816
|
}, [item, items]);
|
817
817
|
React.useEffect(() => {
|
818
818
|
const setMap = (marker, x) => {
|
819
|
-
if (!marker || !marker.getElement())
|
820
|
-
return;
|
821
819
|
map.setView(new leaflet.LatLng(item?.position?.coordinates[1], item?.position?.coordinates[0] + x / 4), undefined);
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
}
|
826
|
-
catch (error) {
|
827
|
-
console.warn('Could not open popup:', error);
|
828
|
-
}
|
829
|
-
});
|
820
|
+
setTimeout(() => {
|
821
|
+
marker.openPopup();
|
822
|
+
}, 500);
|
830
823
|
};
|
831
824
|
if (item) {
|
832
825
|
if (item.position) {
|