Redirecting in 'beforeLoad' to change one parameter in the URL - TanStack