mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-10-22 11:22:43 +02:00
Label the pending tx icon with a tooltip
This commit is contained in:
parent
6209224a6c
commit
3c90024564
@ -3,6 +3,7 @@
|
|||||||
## Current Master
|
## Current Master
|
||||||
|
|
||||||
- Add Transaction Number (nonce) to transaction list.
|
- Add Transaction Number (nonce) to transaction list.
|
||||||
|
- Label the pending tx icon with a tooltip.
|
||||||
|
|
||||||
## 3.6.5 2017-5-17
|
## 3.6.5 2017-5-17
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
const Component = require('react').Component
|
const Component = require('react').Component
|
||||||
const h = require('react-hyperscript')
|
const h = require('react-hyperscript')
|
||||||
const inherits = require('util').inherits
|
const inherits = require('util').inherits
|
||||||
|
const Tooltip = require('./tooltip')
|
||||||
|
|
||||||
const Identicon = require('./identicon')
|
const Identicon = require('./identicon')
|
||||||
|
|
||||||
@ -32,11 +33,17 @@ TransactionIcon.prototype.render = function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
case 'submitted':
|
case 'submitted':
|
||||||
return h('i.fa.fa-ellipsis-h', {
|
return h(Tooltip, {
|
||||||
style: {
|
title: 'Pending',
|
||||||
fontSize: '27px',
|
position: 'bottom',
|
||||||
},
|
},
|
||||||
})
|
[
|
||||||
|
h('i.fa.fa-ellipsis-h', {
|
||||||
|
style: {
|
||||||
|
fontSize: '27px',
|
||||||
|
},
|
||||||
|
})
|
||||||
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isMsg) {
|
if (isMsg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user