From e10ef4bd75bd5aa35e585b72d1723018b0ebcc97 Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Wed, 6 Aug 2025 08:53:19 +0200 Subject: [PATCH] Update linting fixes (#1085) --- apps/mobile-app/context/AuthContext.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/mobile-app/context/AuthContext.tsx b/apps/mobile-app/context/AuthContext.tsx index c1e47a941..211f5aa18 100644 --- a/apps/mobile-app/context/AuthContext.tsx +++ b/apps/mobile-app/context/AuthContext.tsx @@ -68,7 +68,6 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ children const params = useGlobalSearchParams(); const lastRouteRef = useRef<{ path: string, params?: object }>({ path: pathname, params }); - useEffect(() => { lastRouteRef.current = { path: pathname, params }; }, [pathname, params]);