Skip to content

Commit

Permalink
[issue-237] Mythical_Telegram_App - Fix some bugs related to Leaderbo…
Browse files Browse the repository at this point in the history
…ard data ( Round 2)
  • Loading branch information
Thiendekaco committed Jan 16, 2025
1 parent ae33335 commit a0aec78
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/extension-koni-ui/src/Popup/Home/Games/gameSDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,12 @@ export class GameApp {
return { players: [] };
}

const mapLeader = await this.apiSDK.fetchLeaderboard(weekLeaderBoard.id);
const mapLeader = await this.apiSDK.fetchLeaderboard(
weekLeaderBoard.id,
{
withoutDelayTime: true
}
);
const mineRanked = mapLeader.results.find((item) => item.mine);

if (!mineRanked) {
Expand Down

0 comments on commit a0aec78

Please sign in to comment.