16 lines
335 B
TypeScript
16 lines
335 B
TypeScript
import UpdateAgentForm from "@/components/form/agent/update-agent-form";
|
|
|
|
export default async function EditAgentPage({
|
|
params,
|
|
}: {
|
|
params: Promise<{ id: string }>;
|
|
}) {
|
|
const { id } = await params;
|
|
|
|
return (
|
|
<div className="bg-slate-100 lg:p-3 dark:!bg-black">
|
|
<UpdateAgentForm id={Number(id)} />
|
|
</div>
|
|
);
|
|
}
|