diff --git a/examples/example-infinite-scroll-esm.html b/examples/example-infinite-scroll-esm.html
index 0abbb56d..95e06da3 100644
--- a/examples/example-infinite-scroll-esm.html
+++ b/examples/example-infinite-scroll-esm.html
@@ -191,7 +191,6 @@
Data Count
&& viewportElm.scrollTop > 0
&& Math.ceil(viewportElm.offsetHeight + args.scrollTop) >= args.scrollHeight
) {
- const vpLeft = document.querySelector('.slick-viewport-top.slick-viewport-left');
scrollEndCalled = true;
handleOnScrollEnd();
}