mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-04-06 01:25:33 +00:00
fix behaviour
This commit is contained in:
parent
6ed235419d
commit
308e7efe5a
@ -34,7 +34,7 @@ export const ItemCard = ({
|
|||||||
throw new Error('Layer is not defined')
|
throw new Error('Layer is not defined')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i.layer.itemType.custom_profile_url && i.position) {
|
if (i.layer.itemType.small_form_edit && i.position) {
|
||||||
navigate('/')
|
navigate('/')
|
||||||
// Wait for navigation to complete before setting popup
|
// Wait for navigation to complete before setting popup
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user