Skip to content

Commit

Permalink
Show pvp rank in profile
Browse files Browse the repository at this point in the history
Signed-off-by: Phrosfire <[email protected]>
  • Loading branch information
Phrosfire authored Mar 9, 2025
1 parent a450ea7 commit c3dc926
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/app/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { showUserRank } from "@/libs/profile";
import { calcMedninRank } from "@/libs/hospital/hospital";
import { calcLevelRequirements } from "@/libs/profile";
import { capitalizeFirstLetter } from "@/utils/sanitize";
import { getPvpRank } from "@/utils/rankedpvp";

export default function Profile() {
// State
Expand Down Expand Up @@ -58,6 +59,7 @@ export default function Profile() {
<p>
Lvl. {userData.level} {showUserRank(userData)}
</p>
<p>PvP Rank: {getPvpRank(userData.rankedLp)}</p>
<p>Money: {userData.money.toFixed(2)}</p>
<p>Bank: {userData.bank.toFixed(2)}</p>
<p>Status: {userData.status}</p>
Expand Down

0 comments on commit c3dc926

Please sign in to comment.