1
0
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:
Kevin Serrano 2016-08-16 14:07:42 -07:00
parent 6041ba1ed2
commit 3b27fe1356

View File

@ -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()