Problem
Two issues in the reader dashboard donation history:
1. Wrong token label on testnet
2. Excessive decimal precision
- Shows
0.00057715687791651 $PLOT — too many digits, hard to read
- Should truncate to 4-6 significant digits:
0.000577 WETH
Fix
- Import
RESERVE_LABEL from lib/contracts/constants and use instead of hardcoded "$PLOT"
- Truncate
formatUnits output to reasonable precision (6 decimal places max)
Files
src/app/dashboard/reader/page.tsx (donation history section)
Problem
Two issues in the reader dashboard donation history:
1. Wrong token label on testnet
RESERVE_LABELconstant not used in this component2. Excessive decimal precision
0.00057715687791651 $PLOT— too many digits, hard to read0.000577 WETHFix
RESERVE_LABELfromlib/contracts/constantsand use instead of hardcoded "$PLOT"formatUnitsoutput to reasonable precision (6 decimal places max)Files
src/app/dashboard/reader/page.tsx(donation history section)