10 lines
307 B
TypeScript
10 lines
307 B
TypeScript
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} />;
|
|
}
|