Summary
formatTao and formatNumber in src/utils/format.ts are unused across the codebase and should be deleted.
Context / Why
Amount rendering throughout the app already goes through:
formatAmount — chain-aware via CHAIN_DECIMALS
- inline
toLocaleString(...) at individual call sites
formatTao and formatNumber have no remaining callers and are effectively dead code.
Verification
$ grep -rn "formatTao|formatNumber" src/
src/utils/format.ts: (only the definitions themselves)
Proposed change
- Delete
formatTao and formatNumber from src/utils/format.ts
- Net diff: −11 lines, 0 insertions
- Pure deletion — no behavior change
Summary
formatTaoandformatNumberin src/utils/format.ts are unused across the codebase and should be deleted.Context / Why
Amount rendering throughout the app already goes through:
formatAmount— chain-aware viaCHAIN_DECIMALStoLocaleString(...)at individual call sitesformatTaoandformatNumberhave no remaining callers and are effectively dead code.Verification
$ grep -rn "formatTao|formatNumber" src/
src/utils/format.ts: (only the definitions themselves)
Proposed change
formatTaoandformatNumberfrom src/utils/format.ts