diff --git a/src/app/layout.tsx b/src/app/layout.tsx index d3022a4..39bce43 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -32,6 +32,8 @@ import { sepolia } from 'viem/chains'; import BottomNavbar from './components/BottomNav/BottomNav'; import AuthPage from './components/AuthPage/AuthPage'; +import PullToRefresh from 'pulltorefreshjs'; + export default function RootLayout({ @@ -48,6 +50,12 @@ export default function RootLayout({ const queryClient = new QueryClient(); const router = useRouter(); + PullToRefresh.init({ + onRefresh() { + window.location.reload(); + }, + }); +