This commit is contained in:
Polaris 2024-08-15 00:42:19 -04:00
parent da19c9a595
commit ebc73c33d0

View File

@ -9,14 +9,14 @@ type userRatingBaseList = {
title: string;
artist: string;
genre: string;
chartId: number;
chartId: string | number;
level: string | number;
jacketPath: string;
rating: number;
version: number;
index: number;
musicId: number | null;
difficultId: string;
difficultId: number | null;
score: number | null;
};
@ -36,7 +36,6 @@ export const ChunithmRecentPlays: FC<ChunithmProfileRecentPlays> = ({
".dds",
".png",
);
return (
<div key={index} className="center flex p-2">
<div className="m-4 font-bold">{index + 1}.</div>
@ -57,7 +56,7 @@ export const ChunithmRecentPlays: FC<ChunithmProfileRecentPlays> = ({
</li>
<li>
<strong>Difficulty: </strong>
{getDifficultyText(playersRecentRatingList.chartId)}
{getDifficultyText(Number(playersRecentRatingList.chartId))}
</li>
<li>
<strong>Score: </strong>{" "}