diff --git a/src/app/(protected)/workorders/_components/wizard/wizard-vendor-company-fields.tsx b/src/app/(protected)/workorders/_components/wizard/wizard-vendor-company-fields.tsx index 9156aff6..d74ba779 100644 --- a/src/app/(protected)/workorders/_components/wizard/wizard-vendor-company-fields.tsx +++ b/src/app/(protected)/workorders/_components/wizard/wizard-vendor-company-fields.tsx @@ -81,7 +81,13 @@ export function WizardVendorCompanyFields({ onPatch({ vendorCompany: nextCompany, ...(nextCompany !== company - ? { vendorId: "", vendorName: "", techPhone: "", vendorNotes: "", newTechnicians: [] } + ? { + vendorId: "", + vendorName: "", + techPhone: "", + vendorNotes: "", + newTechnicians: [], + } : {}), }) }