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.esm.js
CHANGED
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
3
3
|
import React__default, { useState, useEffect, cloneElement, useRef, useCallback, useMemo, useReducer, forwardRef, useImperativeHandle, Fragment as Fragment$2, useDebugValue, useLayoutEffect, createContext, useContext } from 'react';
|
4
4
|
import { useNavigate, Link as Link$3, useLocation } from 'react-router-dom';
|
5
5
|
import { toast } from 'react-toastify';
|
6
|
-
import { g as useAuth, R as MapOverlayPage, V as TextInput, a2 as hashTagRegex, a3 as randomColor, ab as encodeTag, j as useAppState, n as useItems, _ as StartEndView, B as TextView, b as useHasUserPermission, W as useGetItemTags, X as ForwardRef$c, ad as DialogModal, Z as HeaderView, Q as ForwardRef$d, p as useAddFilterTag, Y as timeAgo, a4 as TagView, a5 as useUpdateItem, t as useSelectPosition, a0 as useRemoveItem, m as useTags, v as useSetSelectPosition, x as useClusterRef, o as useLeafletRefs, u as useLayers, ae as ForwardRef$e, a1 as PopupStartEndInput, U as TextAreaInput, q as decodeTag, $ as useAddItem, H as useAddTag } from './TagView-
|
6
|
+
import { g as useAuth, R as MapOverlayPage, V as TextInput, a2 as hashTagRegex, a3 as randomColor, ab as encodeTag, j as useAppState, n as useItems, _ as StartEndView, B as TextView, b as useHasUserPermission, W as useGetItemTags, X as ForwardRef$c, ad as DialogModal, Z as HeaderView, Q as ForwardRef$d, p as useAddFilterTag, Y as timeAgo, a4 as TagView, a5 as useUpdateItem, t as useSelectPosition, a0 as useRemoveItem, m as useTags, v as useSetSelectPosition, x as useClusterRef, o as useLeafletRefs, u as useLayers, ae as ForwardRef$e, a1 as PopupStartEndInput, U as TextAreaInput, q as decodeTag, $ as useAddItem, H as useAddTag } from './TagView-JE1Z2opU.js';
|
7
7
|
import { LatLng } from 'leaflet';
|
8
8
|
import axios from 'axios';
|
9
9
|
import 'react-inlinesvg';
|
@@ -797,14 +797,9 @@ function ProfileView({ attestationApi }) {
|
|
797
797
|
useEffect(() => {
|
798
798
|
const setMap = (marker, x) => {
|
799
799
|
map.setView(new LatLng(item?.position?.coordinates[1], item?.position?.coordinates[0] + x / 4), undefined);
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
}
|
804
|
-
catch (error) {
|
805
|
-
console.warn('Could not open popup:', error);
|
806
|
-
}
|
807
|
-
});
|
800
|
+
setTimeout(() => {
|
801
|
+
marker.openPopup();
|
802
|
+
}, 500);
|
808
803
|
};
|
809
804
|
if (item) {
|
810
805
|
if (item.position) {
|