diff --git a/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx b/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx index c41f98a7..6394a3d8 100644 --- a/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx @@ -167,7 +167,7 @@ export function ItemFormPopup(props: Props) { if (result.success && result.data) { // Ensure the item has the layer object attached const itemWithLayer = { ...result.data, layer: popupForm.layer } - + if (isUserProfileUpdate) { updateItem(itemWithLayer) } else {