diff --git a/bikeshop_project/assets/js/components/SignedInList.jsx b/bikeshop_project/assets/js/components/SignedInList.jsx
index 279e121..25e413b 100644
--- a/bikeshop_project/assets/js/components/SignedInList.jsx
+++ b/bikeshop_project/assets/js/components/SignedInList.jsx
@@ -1,5 +1,6 @@
+import _ from 'lodash';
import React, { PropTypes } from 'react';
-import { ListItem } from 'material-ui/List';
+import { Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn } from 'material-ui/Table';
import moment from 'moment';
export default class SignedInList extends React.Component {
@@ -27,19 +28,47 @@ export default class SignedInList extends React.Component {
clearInterval(this.timer);
}
+ sortMembers(members) {
+ return _.sortBy(members, m => m.at.valueOf()).reverse();
+ }
+
tick() {
this.setState({ tick: this.state.tick += 1 });
}
render() {
- const members = this.props.members.sort((l, r) => l.at.diff(r.at))
- .reverse()
- .map(member =>