Skip to content

fix(ui): use shared formatCurrency in StatCard to deduplicate currency formatting (fixes #261) - #345

Open
XueyuanPang-Google wants to merge 1 commit into
MergeFi:mainfrom
XueyuanPang-Google:fix/statcard-currency-formatting-261
Open

fix(ui): use shared formatCurrency in StatCard to deduplicate currency formatting (fixes #261)#345
XueyuanPang-Google wants to merge 1 commit into
MergeFi:mainfrom
XueyuanPang-Google:fix/statcard-currency-formatting-261

Conversation

@XueyuanPang-Google

@XueyuanPang-Google XueyuanPang-Google commented Aug 30, 2026

Copy link
Copy Markdown

Fixes #261

Summary

Replaces StatCard.tsx internal duplicate currency formatting logic with the shared formatCurrency utility from @/lib/utils.ts.

Acceptance Criteria Met

  • Deduplicates currency formatting in StatCard.tsx
  • Respects asset decimal precision and formatting rules
  • Payout address: 0x0e88A5bd43a1BF2e0C2B954E5b51F257b9322B66

@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

@XueyuanPang is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StatCard duplicates formatCurrency's exact locale-formatting logic instead of calling the shared utils.ts helper

2 participants