import { DispatchHistory } from "@/components/dispatch-history";
import { listTaskEvents } from "@/lib/tasks";

export const dynamic = "force-dynamic";

export default async function TasksDispatchPage() {
  const events = await listTaskEvents(undefined, 50);
  return <DispatchHistory events={events} />;
}
