feat: add console logging for image loading and product data fetching in Product and ProductDetailPage components for improved debugging

This commit is contained in:
sebseb7
2025-07-23 08:41:26 +02:00
parent 602324b1fe
commit 1c777f8daa
2 changed files with 5 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ class Product extends Component {
loadImage = (bildId) => {
console.log('loadImagevisSocket', bildId);
window.socketManager.emit('getPic', { bildId, size:'small' }, (res) => {
if(res.success){
window.smallPicCache[bildId] = URL.createObjectURL(new Blob([res.imageBuffer], { type: 'image/jpeg' }));