/**
 * Admin: Simulate action endpoint (stub)
 *
 * Simulation is now handled by the "Run Simulation" button on the Simulator
 * setup page (/admin/sports-seasons/:id/simulator). This stub redirects any
 * direct GET navigation to the season admin page.
 */

import { redirect } from "react-router";
import type { Route } from "./+types/admin.sports-seasons.$id.simulate";

export async function loader({ params }: Route.LoaderArgs) {
  return redirect(`/admin/sports-seasons/${params.id}`);
}
