Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/koni/dev/issue-178'…
Browse files Browse the repository at this point in the history
… into mythical-dev
  • Loading branch information
lw-cdm committed Nov 28, 2024
2 parents 954c642 + d267f24 commit 85ec623
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Component = ({ className }: Props): React.ReactElement => {
referralList.forEach((r) => {
result.push({
avatarSrc: r.accountInfo.avatar,
name: r.accountInfo.telegramUsername,
name: `${r.accountInfo.firstName} ${r.accountInfo.lastName}`,
point: r.accountInfo.point
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Props = {

function getGameAccountItem (leaderboardPersonItem: LeaderboardPerson): GameAccountItemType {
return {
name: leaderboardPersonItem.accountInfo.telegramUsername,
name: `${leaderboardPersonItem.accountInfo.firstName} ${leaderboardPersonItem.accountInfo.lastName}`,
prefix: `${leaderboardPersonItem.rank}`,
point: leaderboardPersonItem.point,
avatarSrc: leaderboardPersonItem.accountInfo.avatar,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function getTopAccountItem (gameAccountItem: LeaderboardPerson | undefined, rank
isFirst: rank === 1,
rank,
point: gameAccountItem.point,
name: gameAccountItem.accountInfo.telegramUsername,
name: `${gameAccountItem.accountInfo.firstName} ${gameAccountItem.accountInfo.lastName}`,
avatarSrc: gameAccountItem.accountInfo.avatar,
tokenValue: 0
};
Expand Down
Binary file modified packages/webapp/public/images/games/default-avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 85ec623

Please sign in to comment.