aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/containers
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-25 07:17:01 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-25 07:17:01 +0800
commitb7f4062ac84159e58d0282a38fb64825c429cbd8 (patch)
treeabff03604cea4e8bdd903cbd042a85cf096119c6 /packages/instant/src/containers
parent73f5ea2906502e89fa9bca275e229a1485d2f974 (diff)
downloaddexon-sol-tools-b7f4062ac84159e58d0282a38fb64825c429cbd8.tar
dexon-sol-tools-b7f4062ac84159e58d0282a38fb64825c429cbd8.tar.gz
dexon-sol-tools-b7f4062ac84159e58d0282a38fb64825c429cbd8.tar.bz2
dexon-sol-tools-b7f4062ac84159e58d0282a38fb64825c429cbd8.tar.lz
dexon-sol-tools-b7f4062ac84159e58d0282a38fb64825c429cbd8.tar.xz
dexon-sol-tools-b7f4062ac84159e58d0282a38fb64825c429cbd8.tar.zst
dexon-sol-tools-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.tsx6
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,