Skip to content

Commit

Permalink
fixup! dApp: extend address input to allow restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
weilbith committed Sep 8, 2021
1 parent 9a38afc commit 64a8c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion raiden-dapp/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
"empty": "Enter an address or ENS name",
"ens-resolve-failed": "Please enter a resolvable ENS name",
"invalid-excluded-address": "Please enter a different address or ENS name. You can't use your own address or the address of the token network.",
"invalid-restricted-address": "Please enter a different address or ENS name. The used address is not allowed to be used here.",
"invalid-restricted-address": "Address not allowed, please enter a different address or ENS name.",
"target-offline": "Target is offline."
}
},
Expand Down
2 changes: 1 addition & 1 deletion raiden-dapp/tests/unit/components/address-input.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ describe('AddressInput', () => {
expect(messages.text()).toBe('address-input.error.invalid-restricted-address');
});

test('should show custo error message when provided', async () => {
test('should show custom error message when provided', async () => {
wrapper = createWrapper(
'',
undefined,
Expand Down

0 comments on commit 64a8c4c

Please # to comment.