🪙 a11y: Improved Readability of Tokens (#7643)

Co-authored-by: Helge Wiethoff <helge.wiethoff@thga.de>
This commit is contained in:
derhelge 2025-06-02 13:48:33 +02:00 committed by GitHub
parent d3a504857a
commit 80bc49db8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,8 @@ function AccountSettings() {
{startupConfig?.balance?.enabled === true && balanceQuery.data != null && (
<>
<div className="text-token-text-secondary ml-3 mr-2 py-2 text-sm" role="note">
{localize('com_nav_balance')}: {balanceQuery.data.tokenCredits.toFixed(2)}
{localize('com_nav_balance')}:{' '}
{new Intl.NumberFormat().format(Math.round(balanceQuery.data.tokenCredits))}
</div>
<DropdownMenuSeparator />
</>