mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
Update lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView/ItemAvatar.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
76a3060f39
commit
4148b4be2b
@ -26,7 +26,7 @@ export function ItemAvatar({
|
||||
const imageSize = extraLarge ? 320 : 160
|
||||
const avatar =
|
||||
(item.image &&
|
||||
appState.assetsApi.url + item.image + `?width=${imageSize}&heigth=${imageSize}`) ??
|
||||
appState.assetsApi.url + item.image + `?width=${imageSize}&height=${imageSize}`) ??
|
||||
item.image_external
|
||||
|
||||
const hasAvatar = !!avatar
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user