Intended behaviour for navigation - TanStack