fix(wallet-transactions): improve badge text color for transaction types (mobile)
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 8m44s

This commit is contained in:
2025-07-27 22:23:37 +05:00
parent a717c3d242
commit 21938657ca

View File

@ -214,11 +214,11 @@ function MobileTransactionDetails({ trx }: { trx: WalletTransaction }) {
</div> </div>
<span className="font-semibold pr-2"> <span className="font-semibold pr-2">
{trx.transaction_type === "TOPUP" ? ( {trx.transaction_type === "TOPUP" ? (
<Badge className="bg-green-100 dark:bg-green-700"> <Badge className="bg-green-100 text-green-950 dark:bg-green-700">
{trx.transaction_type} {trx.transaction_type}
</Badge> </Badge>
) : ( ) : (
<Badge className="bg-red-500 dark:bg-red-700"> <Badge className="bg-red-500 text-red-950 dark:bg-red-700">
{trx.transaction_type} {trx.transaction_type}
</Badge> </Badge>
)} )}