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.
@@ -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-N0Ody3tW.js');
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
- requestAnimationFrame(() => {
821
- try {
822
- marker.openPopup();
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) {