diff --git a/frontend/src/common/components/form/CustomFormComponents.tsx b/frontend/src/common/components/form/CustomFormComponents.tsx index 4bc32d7c1..bee3e8c5b 100644 --- a/frontend/src/common/components/form/CustomFormComponents.tsx +++ b/frontend/src/common/components/form/CustomFormComponents.tsx @@ -67,7 +67,7 @@ export const getErrorMessage = (errors: any, fieldPath: string): string => { * @param options These options are used to customize the component through styles, validation rules, and TanStack React Query integration * @param name The name of the field, which is the Unique name of your input. * @param rules Validation rules such as required, min, max, etc - * @param label Text to label the field. Must be identical to the value in i18/translations/en.json if integrating with i18 + * @param label Text to label the field. * @param inputProps MUI component attributes applied to the html input element. * @param width Width of the MUI Box container that contains all of the code for the form component. Defaults t0 520px * @param customHelperText Non-bold text to appear in parenthesis beside the label diff --git a/frontend/src/features/permits/pages/TermOversize/components/form/VehicleDetails/VehicleDetails.tsx b/frontend/src/features/permits/pages/TermOversize/components/form/VehicleDetails/VehicleDetails.tsx index 3d463b967..2699e401d 100644 --- a/frontend/src/features/permits/pages/TermOversize/components/form/VehicleDetails/VehicleDetails.tsx +++ b/frontend/src/features/permits/pages/TermOversize/components/form/VehicleDetails/VehicleDetails.tsx @@ -284,9 +284,6 @@ export const VehicleDetails = ({ label: "Plate", width: formFieldStyle.width, }} - i18options={{ - label_i18: "vehicle.power-unit.plate", - }} />