diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx b/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx index 3173373c456ec..dfe52e34f8678 100644 --- a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx +++ b/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx @@ -19,8 +19,6 @@ import { EuiSelect, EuiSpacer, EuiCallOut, - EuiFlexGroup, - EuiFlexItem, } from '@elastic/eui'; import { KBN_FIELD_TYPES } from '../../../../../../../../../src/plugins/data/common'; @@ -403,81 +401,75 @@ export const StepDetailsForm: FC = React.memo( /> - - - - - - {i18n.translate( - 'xpack.transform.stepDetailsForm.destinationIndexInvalidError', - { - defaultMessage: 'Invalid destination index name.', - } - )} -
- - {i18n.translate( - 'xpack.transform.stepDetailsForm.destinationIndexInvalidErrorLink', - { - defaultMessage: 'Learn more about index name limitations.', - } - )} - - , - ] + + {i18n.translate('xpack.transform.stepDetailsForm.destinationIndexInvalidError', { + defaultMessage: 'Invalid destination index name.', + })} +
+ + {i18n.translate( + 'xpack.transform.stepDetailsForm.destinationIndexInvalidErrorLink', + { + defaultMessage: 'Learn more about index name limitations.', + } + )} + + , + ] + } + > + setDestinationIndex(e.target.value)} + aria-label={i18n.translate( + 'xpack.transform.stepDetailsForm.destinationIndexInputAriaLabel', + { + defaultMessage: 'Choose a unique destination index name.', } - > - setDestinationIndex(e.target.value)} - aria-label={i18n.translate( - 'xpack.transform.stepDetailsForm.destinationIndexInputAriaLabel', - { - defaultMessage: 'Choose a unique destination index name.', - } - )} - isInvalid={!indexNameEmpty && !indexNameValid} - data-test-subj="transformDestinationIndexInput" - /> -
-
- {stepDefineState.transformFunction === TRANSFORM_FUNCTION.LATEST ? ( - - -

- - {i18n.translate('xpack.transform.stepDetailsForm.createIndexAPI', { - defaultMessage: 'Create index API', - })} - - ), - }} - /> -

-
-
- ) : null} -
+ )} + isInvalid={!indexNameEmpty && !indexNameValid} + data-test-subj="transformDestinationIndexInput" + /> + + + {stepDefineState.transformFunction === TRANSFORM_FUNCTION.LATEST ? ( + <> + + +

+ + {i18n.translate('xpack.transform.stepDetailsForm.createIndexAPI', { + defaultMessage: 'Create index API', + })} + + ), + }} + /> +

+
+ + + ) : null}