diff options
Diffstat (limited to 'src/frontend/app/components/PullToRefresh.tsx')
| -rw-r--r-- | src/frontend/app/components/PullToRefresh.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/app/components/PullToRefresh.tsx b/src/frontend/app/components/PullToRefresh.tsx index d5ea51b..b3abe86 100644 --- a/src/frontend/app/components/PullToRefresh.tsx +++ b/src/frontend/app/components/PullToRefresh.tsx @@ -48,7 +48,7 @@ export const PullToRefresh: React.FC<PullToRefreshProps> = ({ htmlScroll, bodyScroll, containerScroll, - parentScroll, + parentScroll ); if (maxScroll > 0 || isRefreshing) { @@ -60,7 +60,7 @@ export const PullToRefresh: React.FC<PullToRefreshProps> = ({ startY.current = e.touches[0].clientY; setIsPulling(true); }, - [isRefreshing], + [isRefreshing] ); const handleTouchMove = useCallback( @@ -78,7 +78,7 @@ export const PullToRefresh: React.FC<PullToRefreshProps> = ({ htmlScroll, bodyScroll, containerScroll, - parentScroll, + parentScroll ); if (maxScroll > 10) { @@ -116,7 +116,7 @@ export const PullToRefresh: React.FC<PullToRefreshProps> = ({ setIsActive(false); } }, - [isPulling, threshold, isActive, y], + [isPulling, threshold, isActive, y] ); const handleTouchEnd = useCallback(async () => { |
