Update linting fixes (#1085)

This commit is contained in:
Leendert de Borst
2025-08-06 08:53:19 +02:00
parent 54853c7a4d
commit e10ef4bd75

View File

@@ -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]);