Remove logging

This commit is contained in:
FlorianSpeicher
2025-06-14 21:52:11 +02:00
parent 7623908e3e
commit 2603b89aa7

View File

@@ -28,9 +28,6 @@ export default function ItemCard({ item }: { item: Item }) {
try {
const response = await fetch(`http://localhost:8085/image?uuid=${item.uuid}`); //image/* as base64
const data = await response.text();
if(data.length == 0) {
console.error("Got emtpy picture for article ", item.uuid);
}
setImageUrl("data:image/jpeg;base64," + data);
} catch (error) {
console.error("Fehler beim Laden des Bildes:", error);