Error: Maximum update depth exceeded while using Route.useLoaderData() - TanStack