aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/inputs/address_input.tsx
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-12 20:56:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-12 20:56:19 +0800
commit16a970b65d72a07ef4ebd9d0ec062f9323525f2e (patch)
tree176f761022dc70910a50118a5610c3fe9628677f /packages/website/ts/components/inputs/address_input.tsx
parent1647e45247cd224a00b39bb91db766bbf981b76f (diff)
downloaddexon-sol-tools-16a970b65d72a07ef4ebd9d0ec062f9323525f2e.tar.gz
dexon-sol-tools-16a970b65d72a07ef4ebd9d0ec062f9323525f2e.tar.zst
dexon-sol-tools-16a970b65d72a07ef4ebd9d0ec062f9323525f2e.zip
Fix an invocation
Diffstat (limited to 'packages/website/ts/components/inputs/address_input.tsx')
-rw-r--r--packages/website/ts/components/inputs/address_input.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/inputs/address_input.tsx b/packages/website/ts/components/inputs/address_input.tsx
index 832324fda..40ae722d9 100644
--- a/packages/website/ts/components/inputs/address_input.tsx
+++ b/packages/website/ts/components/inputs/address_input.tsx
@@ -62,7 +62,7 @@ export class AddressInput extends React.Component<AddressInputProps, AddressInpu
}
private onOrderTakerAddressUpdated(e: any) {
const address = e.target.value.toLowerCase();
- const isValidAddress = isAddress(address) || address === '';
+ const isValidAddress = addressUtils.isAddress(address) || address === '';
const errMsg = isValidAddress ? '' : 'Invalid ethereum address';
this.setState({
address,