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