utopia-ui 3.0.93 → 3.0.94

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/index.cjs CHANGED
@@ -5731,7 +5731,7 @@ function ItemFormPopup(props) {
5731
5731
  map.closePopup();
5732
5732
  }
5733
5733
  else {
5734
- const item = items.find((i) => i.user_created?.id === user?.id && i.layer?.id === popupForm.layer.id);
5734
+ const item = items.find((i) => i.user_created?.id === user?.id && i.layer === popupForm.layer);
5735
5735
  const uuid = crypto.randomUUID();
5736
5736
  let success = false;
5737
5737
  try {