mirror of
https://github.com/DerTyp7/f1r3wave-website.git
synced 2025-10-29 13:02:09 +01:00
Remove console.logs
This commit is contained in:
@@ -32,7 +32,6 @@ export default function Gallery({ initialImages }: GalleryProps) {
|
|||||||
let index = 0;
|
let index = 0;
|
||||||
|
|
||||||
for (const image of imageStack) {
|
for (const image of imageStack) {
|
||||||
console.log('image', image.id);
|
|
||||||
usedColumnsInRow += image.aspect_ratio > HORIZONTAL_ASPECT_RATIO ? 2 : 1;
|
usedColumnsInRow += image.aspect_ratio > HORIZONTAL_ASPECT_RATIO ? 2 : 1;
|
||||||
usedRowsInColumn += image.aspect_ratio < VERTICAL_ASPECT_RATIO ? 2 : 1;
|
usedRowsInColumn += image.aspect_ratio < VERTICAL_ASPECT_RATIO ? 2 : 1;
|
||||||
|
|
||||||
@@ -59,7 +58,7 @@ export default function Gallery({ initialImages }: GalleryProps) {
|
|||||||
}
|
}
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
console.log('new images', imageStack);
|
|
||||||
setImages(imageStack);
|
setImages(imageStack);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user