diff options
author | Michael J. Cohen <mcohen@criterion360.com> | 2018-10-16 07:02:57 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-10-16 07:02:57 +0800 |
commit | 8c33c018dead721d7ad3b86d75a8a7abcade3938 (patch) | |
tree | b9fe3bc0cbcd373f99e3c92338475f4781eb897f /ui/app | |
parent | de169221b51ea24e18274362c3ac3d19bcf9b453 (diff) | |
download | tangerine-wallet-browser-8c33c018dead721d7ad3b86d75a8a7abcade3938.tar tangerine-wallet-browser-8c33c018dead721d7ad3b86d75a8a7abcade3938.tar.gz tangerine-wallet-browser-8c33c018dead721d7ad3b86d75a8a7abcade3938.tar.bz2 tangerine-wallet-browser-8c33c018dead721d7ad3b86d75a8a7abcade3938.tar.lz tangerine-wallet-browser-8c33c018dead721d7ad3b86d75a8a7abcade3938.tar.xz tangerine-wallet-browser-8c33c018dead721d7ad3b86d75a8a7abcade3938.tar.zst tangerine-wallet-browser-8c33c018dead721d7ad3b86d75a8a7abcade3938.zip |
add tooltip for view etherscan tx (#5518)
* add tooltip for view etherscan tx
* run lint
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js b/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js index 13cb51349..a4f28fd63 100644 --- a/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js +++ b/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js @@ -5,6 +5,7 @@ import { CARDS_VARIANT } from '../sender-to-recipient/sender-to-recipient.consta import TransactionActivityLog from '../transaction-activity-log' import TransactionBreakdown from '../transaction-breakdown' import Button from '../button' +import Tooltip from '../tooltip' import prefixForNetwork from '../../../lib/etherscan-prefix-for-network' export default class TransactionListItemDetails extends PureComponent { @@ -75,13 +76,15 @@ export default class TransactionListItemDetails extends PureComponent { </Button> ) } - <Button - type="raised" - onClick={this.handleEtherscanClick} - className="transaction-list-item-details__header-button" - > - <img src="/images/arrow-popout.svg" /> - </Button> + <Tooltip title={t('viewOnEtherscan')}> + <Button + type="raised" + onClick={this.handleEtherscanClick} + className="transaction-list-item-details__header-button" + > + <img src="/images/arrow-popout.svg" /> + </Button> + </Tooltip> </div> </div> <div className="transaction-list-item-details__sender-to-recipient-container"> |