Browse Source

Update display of account in Dashboard page

master
meriadec 7 years ago
parent
commit
8a080ff4dd
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 8
      src/components/DashboardPage.js

8
src/components/DashboardPage.js

@ -135,8 +135,12 @@ class DashboardPage extends PureComponent<Props, State> {
style={{ cursor: 'pointer', height: 200 }}
onClick={() => push(`/account/${key}`)}
>
<div>{accounts[key].name}</div>
<div>{accounts[key].data && formatBTC(accounts[key].data.balance)}</div>
<Box>
<Text fontWeight="bold">{accounts[key].name}</Text>
</Box>
<Box grow align="center" justify="center">
{accounts[key].data && formatBTC(accounts[key].data.balance)}
</Box>
</Card>
),
)}

Loading…
Cancel
Save