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