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:
Anton Tranelis 2025-10-10 20:17:11 +02:00 committed by GitHub
parent 76a3060f39
commit 4148b4be2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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