diff --git a/components/RecentChunithmScores/action.ts b/components/RecentChunithmScores/action.ts index d25368d..801238f 100644 --- a/components/RecentChunithmScores/action.ts +++ b/components/RecentChunithmScores/action.ts @@ -47,6 +47,15 @@ export async function getUserRatingBaseList() { }, }); + // chartId is the difficutly i.e + // easy, hard, expert, master, ultima, worlds end + + // songId is the id of the specific song so we are mapping the song in the profile recent to the song + // in the chuni static music table so we can get name and jacket path etc + // then we are mapping the musicId to the chartId to get the proper difficutly from above + // this is very confusing and my brain hurts + // if someone could make this cleaner id highly appreciate it + // Create a map const songIdtoChartId = new Map( staticMusicInfo.map((music) => [