Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
smrtrfszm committed Dec 22, 2023
1 parent 75a86ec commit 99d7f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImageViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const ImageViewer: VoidComponent<ImageViewerProps> = (props) => {

onMount(() => {
observer = new IntersectionObserver(
(entries, observer) => {
(entries) => {
entries = entries.filter((e) => e.isIntersecting)

if (entries.length > 0) {
Expand Down

0 comments on commit 99d7f12

Please sign in to comment.