Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

Commit

Permalink
Merge pull request #25 from etclabscore/fix/blockcardlist-sorting
Browse files Browse the repository at this point in the history
fix: block card list sorting
  • Loading branch information
shanejonas authored Aug 8, 2019
2 parents ee34857 + caa353c commit 181d80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/BlockCardList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function BlockCardListContainer(props: IProps) {
<Grid container spacing={2} style={style}>
{
blocks.sort((a: any, b: any) => {
return hexToNumber(a) - hexToNumber(a.number);
return hexToNumber(b.number) - hexToNumber(a.number);
}).map((block: any) => {
return (
<Grid item xs={12} sm={4}>
Expand Down

0 comments on commit 181d80f

Please sign in to comment.