Skip to content

Commit

Permalink
Merge pull request #238 from wwWallet/reverse-credentials-order
Browse files Browse the repository at this point in the history
Reversed Credentials order to descending date
  • Loading branch information
gkatrakazas authored Apr 23, 2024
2 parents 6f86c2f + cec847a commit 5ad3ee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/Home/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const Home = () => {
const getData = async () => {
const response = await api.get('/storage/vc');
const vcEntityList = response.data.vc_list;
vcEntityList.sort((vcA, vcB) => vcB.issuanceDate - vcA.issuanceDate);
setVcEntityList(vcEntityList);
};
getData();
Expand Down

0 comments on commit 5ad3ee9

Please sign in to comment.