Skip to content

Commit

Permalink
Merge pull request #1055 from ensdomains/dev
Browse files Browse the repository at this point in the history
Deploy live: Fix reverse no set (#1054)
  • Loading branch information
makoto authored Jan 21, 2021
2 parents 82f3169 + 5e18665 commit 688c4e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
7 changes: 0 additions & 7 deletions cypress/integration/address.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ describe('/address', () => {
}).should('exist')
cy.queryByText('newname.eth', { exact: false }).should('exist')
cy.queryByText('Expires', { exact: false }).should('exist')
cy.getByTestId('sitenav').within(container => {
cy.queryByText('My Account', { container, exact: false }).should(
'have.css',
'color',
ENABLED_COLOUR
)
})
})

it('can select a name', () => {
Expand Down
9 changes: 5 additions & 4 deletions src/components/AddReverseRecord.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function AddReverseRecord({ account, currentAddress }) {
</MessageContent>
) : (
<div data-testid="editable-reverse-record-not-set">
t('singleName.record.messages.notSet')
{t('singleName.record.messages.notSet')}
</div>
)}
{pending && !confirmed && txHash ? (
Expand All @@ -190,9 +190,10 @@ function AddReverseRecord({ account, currentAddress }) {
<Trans i18nKey="singleName.record.messages.explanation">
The Reverse Resolution translates an address into a name. It
allows Dapps to show in their interfaces '
{{ name: getReverseRecord.name }}' rather than the long address
'{{ account }}'. If you would like to set up your reverse for a
different account, please switch accounts in your dapp browser.
{{ name: getReverseRecord?.name || 'example.eth' }}' rather than
the long address '{{ account }}'. If you would like to set up
your reverse for a different account, please switch accounts in
your dapp browser.
</Trans>
</Explanation>
<Select
Expand Down

0 comments on commit 688c4e1

Please sign in to comment.