@ -41,7 +41,6 @@ import ViewOnEtherScanLink from './view-on-ether-scan-link'
export default function AwaitingSwap ( {
swapComplete ,
errorKey ,
symbol ,
txHash ,
networkId ,
tokensReceived ,
@ -189,7 +188,7 @@ export default function AwaitingSwap ({
headerText = t ( 'swapProcessing' )
statusImage = < PulseLoader / >
submitText = t ( 'swapsViewInActivity' )
descriptionText = t ( 'swapOnceTransactionHasProcess' , [ < span key = "swapOnceTransactionHasProcess-1" className = "awaiting-swap__amount-and-symbol" > { symbol } < / s p a n > ] )
descriptionText = t ( 'swapOnceTransactionHasProcess' , [ < span key = "swapOnceTransactionHasProcess-1" className = "awaiting-swap__amount-and-symbol" > { destinationTokenInfo . symbol } < / s p a n > ] )
content = (
< >
< div
@ -214,8 +213,8 @@ export default function AwaitingSwap ({
} else if ( ! errorKey && swapComplete ) {
headerText = t ( 'swapTransactionComplete' )
statusImage = < SwapSuccessIcon / >
submitText = t ( 'swapViewToken' , [ symbol ] )
descriptionText = t ( 'swapTokenAvailable' , [ < span key = "swapTokenAvailable-2" className = "awaiting-swap__amount-and-symbol" > { ` ${ tokensReceived || '' } ${ symbol } ` } < / s p a n > ] )
submitText = t ( 'swapViewToken' , [ destinationTokenInfo . symbol ] )
descriptionText = t ( 'swapTokenAvailable' , [ < span key = "swapTokenAvailable-2" className = "awaiting-swap__amount-and-symbol" > { ` ${ tokensReceived || '' } ${ destinationTokenInfo . symbol } ` } < / s p a n > ] )
content = blockExplorerUrl && (
< ViewOnEtherScanLink
txHash = { txHash }
@ -273,7 +272,6 @@ export default function AwaitingSwap ({
AwaitingSwap . propTypes = {
swapComplete : PropTypes . bool ,
symbol : PropTypes . string . isRequired ,
networkId : PropTypes . string . isRequired ,
txHash : PropTypes . string ,
tokensReceived : PropTypes . string ,