diff --git a/frontend/src/components/CreateProfileModal.tsx b/frontend/src/components/CreateProfileModal.tsx index f85be302..37edf566 100644 --- a/frontend/src/components/CreateProfileModal.tsx +++ b/frontend/src/components/CreateProfileModal.tsx @@ -16,8 +16,6 @@ import { ModalBody, ModalFooter, ModalHeader, - Stack, - StackItem, TextArea, TextInput, } from '@patternfly/react-core'; @@ -214,72 +212,68 @@ const CreateProfileModal: React.FC = ({ role="group" > {credentials.map((cred, index) => ( - - - - - - setCredentials((rows) => - rows.map((r, i) => - i === index ? { ...r, name: value } : r, - ), - ) - } - placeholder="Credential name" - aria-label="Credential name" - /> - - - - setCredentials((rows) => - rows.map((r, i) => - i === index ? { ...r, envVarsText: value } : r, - ), - ) - } - placeholder="ENV_VARS (comma-separated)" - aria-label="Environment variables" - /> - - - - setCredentials((rows) => - rows.map((r, i) => - i === index ? { ...r, required: checked } : r, - ), - ) - } - /> - - - - - - - + + + + setCredentials((rows) => + rows.map((r, i) => + i === index ? { ...r, name: value } : r, + ), + ) + } + placeholder="Credential name" + aria-label="Credential name" + /> + + + + setCredentials((rows) => + rows.map((r, i) => + i === index ? { ...r, envVarsText: value } : r, + ), + ) + } + placeholder="ENV_VARS (comma-separated)" + aria-label="Environment variables" + /> + + + + setCredentials((rows) => + rows.map((r, i) => + i === index ? { ...r, required: checked } : r, + ), + ) + } + /> + + + + + ))}