Not updating data on route change - TanStack