mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-30 20:43:05 -04:00
Update linting fixes (#1085)
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user