Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
FIX LIVE-2175 - Fix NFT order
Browse files Browse the repository at this point in the history
  • Loading branch information
lambertkevin committed Apr 27, 2022
1 parent efcf9b1 commit 3ae2e13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nft/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ export const nftsFromOperations = (ops: Operation[]): ProtoNFT[] => {
return acc;
}, {});

return Object.values(nftsMap);
// We reverse the array to make it from latest to oldest again
return Object.values(nftsMap).reverse();
};

/**
Expand Down

0 comments on commit 3ae2e13

Please sign in to comment.