|
@ -23,8 +23,12 @@ export default class SignedInList extends React.Component { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
render () { |
|
|
render () { |
|
|
let members = this.props.members.map((member) => { |
|
|
const members = this.props.members.sort((l, r) => { |
|
|
return <ListItem key={member.id} primaryText={member.text} secondaryText={`${member.purpose} – ${member.at.fromNow()}`} /> |
|
|
return l.at.diff(r.at); |
|
|
|
|
|
}) |
|
|
|
|
|
.reverse() |
|
|
|
|
|
.map((member) => { |
|
|
|
|
|
return <ListItem key={member.id} primaryText={member.text} secondaryText={`${member.purpose} – ${member.at.fromNow()}`} /> |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
return ( |
|
|
return ( |
|
|