add tooltip for view etherscan tx (#5518)

* add tooltip for view etherscan tx

* run lint
feature/default_network_editable
Michael J. Cohen 6 years ago committed by Whymarrh Whitby
parent de169221b5
commit 8c33c018de
  1. 3
      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,6 +76,7 @@ export default class TransactionListItemDetails extends PureComponent {
</Button>
)
}
<Tooltip title={t('viewOnEtherscan')}>
<Button
type="raised"
onClick={this.handleEtherscanClick}
@ -82,6 +84,7 @@ export default class TransactionListItemDetails extends PureComponent {
>
<img src="/images/arrow-popout.svg" />
</Button>
</Tooltip>
</div>
</div>
<div className="transaction-list-item-details__sender-to-recipient-container">

Loading…
Cancel
Save