mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
fix onepage contact image
This commit is contained in:
parent
d78b8598b4
commit
304f6c1c38
@ -68,7 +68,14 @@ export function OverlayItemProfile() {
|
||||
scroll();
|
||||
}, [addItemPopupType])
|
||||
|
||||
const profile = items.find(i => (i.user_created?.id === item.id) && i.layer?.itemType.name === "user");
|
||||
const [profile, setProfile] = useState<Item>();
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
setProfile(items.find(i => (i.user_created?.id === item.user_created?.id) && i.layer?.itemType.name === "user"));
|
||||
}, [item, items])
|
||||
|
||||
|
||||
|
||||
const updateActiveTab = (id: number) => {
|
||||
setActiveTab(id);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user