diff --git a/packages/form-code-generator-patternfly-theme/src/uniforms/ListField.tsx b/packages/form-code-generator-patternfly-theme/src/uniforms/ListField.tsx index 108827240a2..c44b652ee7c 100644 --- a/packages/form-code-generator-patternfly-theme/src/uniforms/ListField.tsx +++ b/packages/form-code-generator-patternfly-theme/src/uniforms/ListField.tsx @@ -74,8 +74,7 @@ const List: React.FC = (props: ListFieldProps) => { !${props.disabled} && ${props.maxCount === undefined ? `${ref.stateSetter}((${ref.stateName} ?? []).concat([]))` : `!(${props.maxCount} <= (${ref.stateName}?.length ?? -1)) && ${ref.stateSetter}((${ref.stateName} ?? []).concat([]))`}; }} > - + - {/* */} + @@ -101,7 +100,7 @@ const List: React.FC = (props: ListFieldProps) => { !${props.disabled} && ${props.minCount === undefined ? `${ref.stateSetter}(value)` : `!(${props.minCount} >= (${ref.stateName}?.length ?? -1)) && ${ref.stateSetter}(value)`}; }} > - - { /* */} + )