diff --git a/.env b/.env index 46acb5368..183a6239d 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ REACT_APP_SUPPORTED_CHAIN_ID=1337 REACT_APP_ETH_HOSTNAME_HTTP=http://localhost:8545 REACT_APP_ETH_HOSTNAME_WS=ws://localhost:8545 REACT_APP_MULTICALL_ADDRESS=$MULTICALL_ADDRESS -REACT_APP_DAPP_DEVELOPMENT_TESTNET_CONTRACTS=false +REACT_APP_DAPP_DEVELOPMENT_TESTNET_CONTRACTS=$DAPP_DEVELOPMENT_TESTNET_CONTRACTS REACT_APP_FEATURE_FLAG_TBTC_V2=true REACT_APP_FEATURE_FLAG_TBTC_V2_REDEMPTION=true diff --git a/.env.production b/.env.production index d836378d8..6a8c662b3 100644 --- a/.env.production +++ b/.env.production @@ -1,6 +1,7 @@ REACT_APP_SUPPORTED_CHAIN_ID=$CHAIN_ID REACT_APP_ETH_HOSTNAME_HTTP=$ETH_HOSTNAME_HTTP REACT_APP_ETH_HOSTNAME_WS=$ETH_HOSTNAME_WS +REACT_APP_DAPP_DEVELOPMENT_TESTNET_CONTRACTS=$DAPP_DEVELOPMENT_TESTNET_CONTRACTS REACT_APP_FEATURE_FLAG_TBTC_V2=true REACT_APP_FEATURE_FLAG_TBTC_V2_REDEMPTION=true diff --git a/src/pages/tBTC/Bridge/UnmintDetails.tsx b/src/pages/tBTC/Bridge/UnmintDetails.tsx index ceb7f3b60..a410727f7 100644 --- a/src/pages/tBTC/Bridge/UnmintDetails.tsx +++ b/src/pages/tBTC/Bridge/UnmintDetails.tsx @@ -188,7 +188,9 @@ export const UnmintDetails: PageComponent = () => { as={BridgeProcessDetailsCard} spacing="4" // @ts-ignore - isProcessCompleted={shouldDisplaySuccessStep} + isProcessCompleted={ + shouldDisplaySuccessStep || shouldForceIsProcessCompleted + } > {_isFetching && } @@ -198,9 +200,13 @@ export const UnmintDetails: PageComponent = () => { - {!shouldDisplaySuccessStep && ( + {!(shouldDisplaySuccessStep || shouldForceIsProcessCompleted) && ( {" "} - In progress... @@ -341,7 +347,7 @@ export const UnmintDetails: PageComponent = () => { ))} - {!shouldDisplaySuccessStep && ( + {!(shouldDisplaySuccessStep || shouldForceIsProcessCompleted) && (