Skip to content

Commit 5fe4983

Browse files
committed
fixed rating prop
1 parent ab39616 commit 5fe4983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/actions/mmLeaderboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function getMMLeaderboardDone(id) {
4949
// eslint-disable-next-line array-callback-return
5050
memberData.map((member, indx) => {
5151
data[indx].photoUrl = member.photoURL;
52-
data[indx].ratingColor = member.maxRating && member.maxRating.ratingColor;
52+
data[indx].rating = member.maxRating && member.maxRating.rating;
5353
});
5454
}
5555
return {

0 commit comments

Comments
 (0)