mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
fixing bug on profile-item-create caused by PR 185
This commit is contained in:
parent
29027c52f8
commit
70714d62ec
@ -101,9 +101,7 @@ export function ItemFormPopup(props: Props) {
|
||||
setSpinner(false)
|
||||
map.closePopup()
|
||||
} else {
|
||||
const item = items.find(
|
||||
(i) => i.user_created?.id === user?.id && i.layer?.id === popupForm.layer.id,
|
||||
)
|
||||
const item = items.find((i) => i.user_created?.id === user?.id && i.layer === popupForm.layer)
|
||||
|
||||
const uuid = crypto.randomUUID()
|
||||
let success = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user