diff options
| author | Copilot <198982749+Copilot@users.noreply.github.com> | 2025-11-17 23:39:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 23:39:08 +0100 |
| commit | 276e73412abef28c222c52a84334d49f5e414f3c (patch) | |
| tree | 8b7ae07eafa53f9efc5884e4f0696e6077266f48 /src/frontend/app/components/PullToRefresh.tsx | |
| parent | 36d982fb3b01fd8181b216b57fba2c42e9404d1f (diff) | |
Use consolidated data API in map sheet with shared card component (#100)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arielcostas <94913521+arielcostas@users.noreply.github.com>
Co-authored-by: Ariel Costas Guerrero <ariel@costas.dev>
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 () => { |
