import { VehicleEditForm } from '@/components/vehicles/VehicleEditForm';

export default async function FahrzeugBearbeitenPage({
  params,
}: {
  params: Promise<{ locale: string; id: string }>;
}) {
  const { id } = await params;
  return (
    <div className="max-w-2xl mx-auto p-6">
      <h1 className="text-2xl font-bold text-text mb-6">Fahrzeug bearbeiten</h1>
      <VehicleEditForm vehicleId={id} />
    </div>
  );
}
