From 4f751ab2553826d80e49c1ee52cb46423c17ada3 Mon Sep 17 00:00:00 2001 From: Polaris Date: Thu, 15 Aug 2024 00:49:15 -0400 Subject: [PATCH] changed name of variable --- components/RecentChunithmScores/action.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/RecentChunithmScores/action.ts b/components/RecentChunithmScores/action.ts index 801238f..ca8d923 100644 --- a/components/RecentChunithmScores/action.ts +++ b/components/RecentChunithmScores/action.ts @@ -73,7 +73,7 @@ export async function getUserRatingBaseList() { const level = staticMusic?.level ?? 0; const score = rating.score ?? 0; - const ratingChange = calculateRating(level, score); + const perSongRating = calculateRating(level, score); return { ...rating, @@ -83,7 +83,7 @@ export async function getUserRatingBaseList() { genre: staticMusic?.genre || "Unknown Genre", level: staticMusic?.level || "Unknown Level", jacketPath: staticMusic?.jacketPath || "", - rating: ratingChange, + rating: perSongRating, }; });