Skip to content
Snippets Groups Projects
Commit 2cbd105d authored by Allen Gilliland's avatar Allen Gilliland
Browse files

fix card sorting so it actually sorts by created_at

parent 41720221
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ export default class Cards extends Component {
renderCards(cards) {
let items = cards.slice().sort((a, b) => a.created_at < b.created_at);
let items = cards.slice().sort((a, b) => b.created_at - a.created_at);
return (
<ul className="pt2">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment