Naprawiono poprawne wyświetlanie zdjęcia od razu po dodaniu.

NORMALIZACJA ZDJECIA JEST NAJWAŻNIESZA
This commit is contained in:
2025-05-23 21:19:11 +02:00
parent f22de8150d
commit 9d253c4c86
4 changed files with 28 additions and 22 deletions

View File

@@ -19,7 +19,7 @@ export async function listLocations() {
}
}
const normalizeImageSource = (image) => {
export const normalizeImageSource = (image) => {
if (!image) return null;
if (typeof image === 'string') {