diff --git a/src/js/components/EditContact/index.jsx b/src/js/components/EditContact/index.jsx index 46c523b4..1df0c86a 100644 --- a/src/js/components/EditContact/index.jsx +++ b/src/js/components/EditContact/index.jsx @@ -1,7 +1,8 @@ import React, {Component, Fragment} from 'react'; -import {FormGroup, Label, Button} from 'reactstrap'; +import {FormGroup, Button} from 'reactstrap'; import Form from 'react-validation/build/form'; import Input from 'react-validation/build/input'; +import Textarea from 'react-validation/build/textarea'; import {withNamespaces} from "react-i18next"; import PropTypes from 'prop-types'; import {required, isContactCode} from "../../validators"; @@ -9,28 +10,26 @@ import {required, isContactCode} from "../../validators"; class EditContact extends Component { render() { const {t, username, statusContactCode, isStatus} = this.props; - return ( -

{t('contactForm.yourName')}

-

{t('contactForm.bestWay')}

- +

{t('contactForm.yourName')}

- this.props.changeUsername(e.target.value)} validations={[required]}/> - - this.props.changeStatusContactCode(e.target.value)} diff --git a/src/js/locales/en.json b/src/js/locales/en.json index 4ef9f01b..1488e93e 100644 --- a/src/js/locales/en.json +++ b/src/js/locales/en.json @@ -153,8 +153,7 @@ } }, "contactForm": { - "yourName": "Your name and how to contact you", - "bestWay": "What would be the best way to contact you" + "yourName": "Set your nickname and contact details" }, "sellerLicenseInfo": { "title": "Value propositions/info about a seller license",