#,
+ headerStyle: {backgroundColor: '#2c2c2c', color:'#ffffff', cursor: "pointer", textAlign: "left", paddingLeft : 10},
+ accessor: 'index',
+ maxWidth: 50,
+ style: {
+ textAlign: "left",
+ paddingLeft : 10
+ },
+ Cell: row => ({row.value})
+ }, {
+ Header: () => {tu("name")},
+ headerStyle: {backgroundColor: '#2c2c2c', color:'#ffffff', cursor: "pointer", textAlign: "left"},
+ accessor: 'name',
+ minWidth: 200,
+ style: {
+ textAlign: "left"
+ },
+ }, {
+ Header: () => {tu("balance")},
+ headerStyle: {backgroundColor: '#2c2c2c', color:'#ffffff', cursor: "pointer", textAlign: "right"},
+ accessor: 'balance',
+ maxWidth: 200,
+ style: {
+ textAlign: "right"
+ },
+ Cell: row => (new Intl.NumberFormat('gb-GB', { style: 'currency', currency: '' }).format(row.value))
+ },
+ ]}
+ defaultPageSize={5}
+ className="-striped -highlight"
+ />
)
}
diff --git a/src/components/account/Login.js b/src/components/account/Login.js
index 90c9ff9..9158d02 100644
--- a/src/components/account/Login.js
+++ b/src/components/account/Login.js
@@ -90,7 +90,8 @@ class Login extends Component {
![Tron]({TronLogo})
- this.setState({ loginPassword: ev.target.value })}/>
+
+ this.setState({ loginPassword: ev.target.value })}/>