[offers][fix] sort profiles reverse chronological order

pull/466/head
Stuart Long Chay Boon 2 years ago
parent a2bf45ad56
commit 521ade6cf0

@ -678,6 +678,8 @@ export const getUserProfileResponseMapper = (
profileName: profile.profileName,
token: profile.editToken,
};
}).sort((a, b) => {
return b.createdAt > a.createdAt ? 1 : -1;
});
}

Loading…
Cancel
Save