I have already set up the interface for the data needed in match history in the matchHistorySetup branch.
You would need to write a function in matchService for example
const computeMatchHistoryData = (matchList, puuid) => {
const matchHistoryList = []
// iterate the matchList to collect the data of the user into a single MatchHistoryDTO obj then push the obj to matchHistoryList
return matchHistoryList;
}
I have already set up the interface for the data needed in match history in the matchHistorySetup branch.
You would need to write a function in matchService for example
Let me know if there is any concern, thanks!