Remove console logging
This commit is contained in:
parent
ea7ede7608
commit
b56c852e58
@ -60,7 +60,6 @@ export default function SelectPhotosProvider({
|
|||||||
const isSomePhotoGridVisible = photoGrids
|
const isSomePhotoGridVisible = photoGrids
|
||||||
.some(element => isElementPartiallyInViewport(element, -20));
|
.some(element => isElementPartiallyInViewport(element, -20));
|
||||||
if (!isSomePhotoGridVisible) {
|
if (!isSomePhotoGridVisible) {
|
||||||
console.log('scrolling to photo grid');
|
|
||||||
photoGrids[0]?.scrollIntoView({ behavior: 'smooth' });
|
photoGrids[0]?.scrollIntoView({ behavior: 'smooth' });
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user