Skip to content

Remove unused formatTao and formatNumber helpers from utils/format.ts #46

@dev-miro26

Description

@dev-miro26

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions