diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-25 07:17:01 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-25 07:17:01 +0800 |
commit | b7f4062ac84159e58d0282a38fb64825c429cbd8 (patch) | |
tree | abff03604cea4e8bdd903cbd042a85cf096119c6 /packages/instant/src/containers | |
parent | 73f5ea2906502e89fa9bca275e229a1485d2f974 (diff) | |
download | dexon-0x-contracts-b7f4062ac84159e58d0282a38fb64825c429cbd8.tar.gz dexon-0x-contracts-b7f4062ac84159e58d0282a38fb64825c429cbd8.tar.zst dexon-0x-contracts-b7f4062ac84159e58d0282a38fb64825c429cbd8.zip |
feat(instant): Be able to view transaction when transaction is in progress
Diffstat (limited to 'packages/instant/src/containers')
-rw-r--r-- | packages/instant/src/containers/selected_asset_view_transaction_button.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/instant/src/containers/selected_asset_view_transaction_button.tsx b/packages/instant/src/containers/selected_asset_view_transaction_button.tsx index 1f9bfd7a6..91e959246 100644 --- a/packages/instant/src/containers/selected_asset_view_transaction_button.tsx +++ b/packages/instant/src/containers/selected_asset_view_transaction_button.tsx @@ -16,7 +16,11 @@ interface ConnectedState { const mapStateToProps = (state: State, _ownProps: {}): ConnectedState => ({ onClick: () => { - if (state.assetBuyer && state.buyOrderState.processState === OrderProcessState.SUCCESS) { + if ( + state.assetBuyer && + (state.buyOrderState.processState === OrderProcessState.PROCESSING || + state.buyOrderState.processState === OrderProcessState.SUCCESS) + ) { const etherscanUrl = etherscanUtil.getEtherScanTxnAddressIfExists( state.buyOrderState.txnHash, state.assetBuyer.networkId, |