diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-01 03:00:31 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-05 01:27:24 +0800 |
commit | c8421efcd32af9dbe58b433fdb97d009a6d89b84 (patch) | |
tree | 31893e7a08edb731a95928677f455a58c84f383d /packages/website/ts/components/wallet | |
parent | f382609d01ab86da52a746ba24ddd73a1a507aa6 (diff) | |
download | dexon-sol-tools-c8421efcd32af9dbe58b433fdb97d009a6d89b84.tar.gz dexon-sol-tools-c8421efcd32af9dbe58b433fdb97d009a6d89b84.tar.zst dexon-sol-tools-c8421efcd32af9dbe58b433fdb97d009a6d89b84.zip |
Address feedback
Diffstat (limited to 'packages/website/ts/components/wallet')
-rw-r--r-- | packages/website/ts/components/wallet/wallet.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx index af6b216c5..7059ca350 100644 --- a/packages/website/ts/components/wallet/wallet.tsx +++ b/packages/website/ts/components/wallet/wallet.tsx @@ -404,7 +404,7 @@ export class Wallet extends React.Component<WalletProps, WalletState> { lastForceTokenStateRefetch={this.props.lastForceTokenStateRefetch} onConversionSuccessful={this._closeWrappedEtherActionRow.bind(this)} // tslint:disable:jsx-no-lambda - refetchEthTokenStateAsync={() => this.props.refetchTokenStateAsync(etherToken.address)} + refetchEthTokenStateAsync={async () => this.props.refetchTokenStateAsync(etherToken.address)} /> )} </div> @@ -440,7 +440,7 @@ export class Wallet extends React.Component<WalletProps, WalletState> { onErrorOccurred={_.noop} // TODO: Error handling userAddress={this.props.userAddress} isDisabled={!config.tokenState.isLoaded} - refetchTokenStateAsync={() => this.props.refetchTokenStateAsync(config.token.address)} + refetchTokenStateAsync={async () => this.props.refetchTokenStateAsync(config.token.address)} /> ); } |