update wording of change tooltip
Some checks failed
Deploy Website / deploy (push) Has been cancelled

This commit is contained in:
Lee 2024-10-12 03:06:37 +01:00
parent 8f62c6c694
commit 1d6647b74e

@ -101,7 +101,7 @@ const playerData = [
<p className="hover:brightness-75 transition-all transform-gpu">#{formatNumberWithCommas(player.rank)}</p> <p className="hover:brightness-75 transition-all transform-gpu">#{formatNumberWithCommas(player.rank)}</p>
</Link> </Link>
)} )}
{rankChange != 0 && renderDailyChange(rankChange, <p>The change in your rank compared to yesterday</p>)} {rankChange != 0 && renderDailyChange(rankChange, <p>The change in rank compared to yesterday</p>)}
</div> </div>
); );
}, },
@ -126,8 +126,7 @@ const playerData = [
</p> </p>
</Link> </Link>
)} )}
{rankChange != 0 && {rankChange != 0 && renderDailyChange(rankChange, <p>The change in country rank compared to yesterday</p>)}
renderDailyChange(rankChange, <p>The change in your country rank compared to yesterday</p>)}
</div> </div>
); );
}, },
@ -145,7 +144,7 @@ const playerData = [
"pp", "pp",
<p className="hover:brightness-75 transition-all transform-gpu text-pp">{formatPp(player.pp)}pp</p> <p className="hover:brightness-75 transition-all transform-gpu text-pp">{formatPp(player.pp)}pp</p>
)} )}
{ppChange != 0 && renderDailyChange(ppChange, <p>The change in your pp compared to yesterday</p>)} {ppChange != 0 && renderDailyChange(ppChange, <p>The change in pp compared to yesterday</p>)}
</div> </div>
); );
}, },