mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
Add recent conversion date.
This commit is contained in:
parent
6041ba1ed2
commit
3b27fe1356
@ -101,8 +101,12 @@ ConfigScreen.prototype.render = function () {
|
||||
|
||||
function currentConversionInformation (metamaskState, state) {
|
||||
var currentFiat = metamaskState.currentFiat
|
||||
var conversionDate = metamaskState.conversionDate
|
||||
console.log(conversionDate)
|
||||
console.log("This is the current date")
|
||||
return h('div', [
|
||||
h('span', {style: { fontWeight: 'bold', paddingRight: '10px'}}, 'Current Conversion'),
|
||||
h('span', {style: { fontWeight: 'bold', paddingRight: '10px', fontSize: '13px'}}, `Updated ${Date(conversionDate)}`),
|
||||
h('select#currentFiat', {
|
||||
onChange (event) {
|
||||
event.preventDefault()
|
||||
|
Loading…
Reference in New Issue
Block a user