utopia-ui 3.0.108 → 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 -9
- package/dist/Profile.cjs.js.map +1 -1
- package/dist/Profile.esm.js +4 -9
- 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');
|
@@ -817,14 +817,9 @@ function ProfileView({ attestationApi }) {
|
|
817
817
|
React.useEffect(() => {
|
818
818
|
const setMap = (marker, x) => {
|
819
819
|
map.setView(new leaflet.LatLng(item?.position?.coordinates[1], item?.position?.coordinates[0] + x / 4), undefined);
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
}
|
824
|
-
catch (error) {
|
825
|
-
console.warn('Could not open popup:', error);
|
826
|
-
}
|
827
|
-
});
|
820
|
+
setTimeout(() => {
|
821
|
+
marker.openPopup();
|
822
|
+
}, 500);
|
828
823
|
};
|
829
824
|
if (item) {
|
830
825
|
if (item.position) {
|