From f8727a694102c70c1c7ca6ca6618518aaf1fcf4b Mon Sep 17 00:00:00 2001 From: ue Date: Tue, 17 Dec 2019 23:34:32 +0300 Subject: [PATCH] removed unnecesary variable --- src/components/posts/view/postsView.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/posts/view/postsView.js b/src/components/posts/view/postsView.js index 30a78a341..9d0d3e1c4 100644 --- a/src/components/posts/view/postsView.js +++ b/src/components/posts/view/postsView.js @@ -331,9 +331,7 @@ const PostsView = ({ ); }; - const _handleOnScroll = event => { - const currentOffset = event.nativeEvent.contentOffset.y; - + const _handleOnScroll = () => { if (handleOnScroll) { handleOnScroll(); }