diff --git a/app/components/ens/copy.js b/app/components/ens/copy.js index 2c826c8..c0e5d00 100644 --- a/app/components/ens/copy.js +++ b/app/components/ens/copy.js @@ -12,5 +12,12 @@ export default { body: 'The name is yours once the transaction is complete' }, subheading: 'Follow the progress in the Transaction History section of your wallet.' + }, + edit: { + title: { + sub: 'Done!', + body: 'Your changes will be saved when the transaction is complete' + }, + subheading: 'Follow the progress in the Transaction History section of your wallet.' } } diff --git a/app/components/ens/nameLookup.js b/app/components/ens/nameLookup.js index c9fc288..c4bbd6f 100644 --- a/app/components/ens/nameLookup.js +++ b/app/components/ens/nameLookup.js @@ -66,7 +66,7 @@ const DisplayBox = ({ displayType, pubKey }) => ( ); -const MobileAddressDisplay = ({ domainName, address, statusAccount, expirationTime, defaultAccount, isOwner, edit }) => ( +const MobileAddressDisplay = ({ domainName, address, statusAccount, expirationTime, defaultAccount, isOwner, edit, onSubmit }) => ( } {!edit && } {!edit && validStatusAddress(statusAccount) && } @@ -103,7 +104,7 @@ class RenderAddresses extends PureComponent { render() { const { domainName, address, statusAccount, expirationTime, defaultAccount, ownerAddress } = this.props - const { copied, editMenu, editAction } = this.state + const { copied, editMenu, editAction, submitted } = this.state const markCopied = (v) => { this.setState({ copied: v }) } const isCopied = address => address == copied; const renderCopied = address => isCopied(address) && Copied!; @@ -135,7 +136,7 @@ class RenderAddresses extends PureComponent { - + {submitted ? : { this.setState({ submitted: true}) }}/>} {isOwner && editAction !== 'edit' && { this.setState({ editMenu: true }) } }/>}