From 1b1045fcd974706e79c9e606b1ff0e8b569fda50 Mon Sep 17 00:00:00 2001 From: k00b Date: Mon, 23 Dec 2024 19:50:51 -0600 Subject: [PATCH] increase pull refresh distance --- components/pull-to-refresh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/pull-to-refresh.js b/components/pull-to-refresh.js index 9be61089..034b6205 100644 --- a/components/pull-to-refresh.js +++ b/components/pull-to-refresh.js @@ -2,7 +2,7 @@ import { useRouter } from 'next/router' import { useState, useRef, useEffect, useCallback, useMemo } from 'react' import styles from './pull-to-refresh.module.css' -const REFRESH_THRESHOLD = 50 +const REFRESH_THRESHOLD = 150 export default function PullToRefresh ({ children, className }) { const router = useRouter()