refactor: join date and time to max cash width

This commit is contained in:
José Oliveira 2021-03-08 11:00:19 +00:00 committed by Josh Harvey
parent 45b2c85f02
commit 830997bce2

View file

@ -117,7 +117,7 @@ const Transactions = () => {
},
{
header: 'Cash',
width: 126,
width: 144,
textAlign: 'right',
size: 'sm',
view: it => `${Number.parseFloat(it.fiat)} ${it.fiatCode}`
@ -141,17 +141,10 @@ const Transactions = () => {
},
{
header: 'Date (UTC)',
view: it => moment.utc(it.created).format('YYYY-MM-DD'),
view: it => moment.utc(it.created).format('YYYY-MM-DD HH:mm:ss'),
textAlign: 'right',
size: 'sm',
width: 135
},
{
header: 'Time (UTC)',
view: it => moment.utc(it.created).format('HH:mm:ss'),
textAlign: 'right',
size: 'sm',
width: 130
width: 195
},
{
header: 'Status',