diff --git a/front/src/modules/rollingStock/components/RollingStockEditor/RollingStockEditorFormHelpers.tsx b/front/src/modules/rollingStock/components/RollingStockEditor/RollingStockEditorFormHelpers.tsx index 9ad163a9f03..988ea94437d 100644 --- a/front/src/modules/rollingStock/components/RollingStockEditor/RollingStockEditorFormHelpers.tsx +++ b/front/src/modules/rollingStock/components/RollingStockEditor/RollingStockEditorFormHelpers.tsx @@ -1,5 +1,6 @@ import React from 'react'; +import { Input } from '@osrd-project/ui-core'; import cx from 'classnames'; import { floor, isNil } from 'lodash'; import { useTranslation } from 'react-i18next'; @@ -40,19 +41,17 @@ const RollingStockEditorMetadataFormColumn = ({ return ( <> {propertiesList.map((property, index) => ( - setRollingStockValues({ ...rollingStockValues, [property.title]: e.target.value }) } - sm - isFlex - key={index} + small /> ))} diff --git a/front/src/styles/styles.scss b/front/src/styles/styles.scss index e69010e0e2b..a9f880b02a9 100644 --- a/front/src/styles/styles.scss +++ b/front/src/styles/styles.scss @@ -12,4 +12,4 @@ @import 'scss/applications/operationalStudies'; @import 'scss/applications/rollingStockEditor/rollingStockForm'; @import 'scss/applications/stdcm'; -@import 'scss/_uiCoreIintegration.scss'; \ No newline at end of file +@import 'scss/_uiCoreIintegration.scss';