From a876333ce43256d100f156ee7541eb792cdd95d9 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 2 Nov 2025 20:04:04 +0000 Subject: [PATCH] Fix RideModelForm manufacturer_id bug --- src/components/admin/RideModelForm.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/admin/RideModelForm.tsx b/src/components/admin/RideModelForm.tsx index bf43c92f..7343aa61 100644 --- a/src/components/admin/RideModelForm.tsx +++ b/src/components/admin/RideModelForm.tsx @@ -45,7 +45,7 @@ type RideModelFormData = z.infer; interface RideModelFormProps { manufacturerName: string; manufacturerId?: string; - onSubmit: (data: RideModelFormData & { _technical_specifications?: TechnicalSpecification[] }) => void; + onSubmit: (data: RideModelFormData & { manufacturer_id?: string; _technical_specifications?: TechnicalSpecification[] }) => void; onCancel: () => void; initialData?: Partial