diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-18 08:35:24 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-18 08:35:24 +0800 |
commit | 22c4ee6ef709610155191c4b0629ba0c41ce908f (patch) | |
tree | f460d684167dcfc0307934a60f0a5b51418feb3f /packages/website/ts/components/inputs | |
parent | fe8f2d87c79cb25a7879c2e737dbdd64b7c40f60 (diff) | |
download | dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar.gz dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar.bz2 dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar.lz dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar.xz dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.tar.zst dexon-sol-tools-22c4ee6ef709610155191c4b0629ba0c41ce908f.zip |
Update first two string enums to native type
Diffstat (limited to 'packages/website/ts/components/inputs')
-rw-r--r-- | packages/website/ts/components/inputs/token_input.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/inputs/token_input.tsx b/packages/website/ts/components/inputs/token_input.tsx index 67f697f05..40fdf9689 100644 --- a/packages/website/ts/components/inputs/token_input.tsx +++ b/packages/website/ts/components/inputs/token_input.tsx @@ -95,7 +95,7 @@ export class TokenInput extends React.Component<TokenInputProps, TokenInputState }); } private onAssetClicked() { - if (this.props.blockchainErr !== '') { + if (this.props.blockchainErr !== BlockchainErrs.NoError) { this.props.dispatcher.updateShouldBlockchainErrDialogBeOpen(true); return; } |