From fa7e3d0ab20a90334f1fe82b264c869af80d85ba Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Wed, 15 Jan 2025 14:22:12 +0530 Subject: [PATCH] Improved: removed unused event argument in onScroll method (#608) --- src/views/HardCountDetail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/HardCountDetail.vue b/src/views/HardCountDetail.vue index 0a4e240f..6152ef43 100644 --- a/src/views/HardCountDetail.vue +++ b/src/views/HardCountDetail.vue @@ -547,7 +547,7 @@ async function readyForReview() { // This function observes the scroll event on the main element, creates an IntersectionObserver to track when products come into view, // and updates the current product state and navigation when a product intersects with the main element. -const onScroll = (event: any) => { +const onScroll = () => { selectedCountUpdateType.value = defaultRecountUpdateBehaviour.value };