We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5ef8a1 commit 0fe1376Copy full SHA for 0fe1376
1 file changed
website/src/lib/leaderboard_utilities.ts
@@ -20,6 +20,7 @@ export const updateUsersProfilePictures = async <T extends { auth_method: string
20
return entires.map((entry, idx) => ({
21
...entry,
22
// NOTE: findMany will return the values unsorted, which is why we have to 'find' here
23
- image: items.find((i) => i.id === frontendUserIds[idx]).image,
+ // TODO: Check why there is no image for a better fix
24
+ image: items.find((i) => i.id === frontendUserIds[idx])?.image || "",
25
}));
26
};
0 commit comments