Skip to content

[Frontend] Remove commented-out dead code in WalletButton #581

Description

@ogazboiz

Telegram: https://t.me/+DOylgFv1jyJlNzM0

Why this matters

frontend/src/components/wallet/WalletButton.tsx carries leftover commented-out code: the networkLabel const (line ~81) and a block of wallet-chip__name/wallet-chip__network markup (lines ~94-101) are commented out but left in place. Dead commented blocks make the component harder to read and invite confusion about whether the network label is meant to render in the chip.

Acceptance criteria

  • Remove the commented-out networkLabel and chip markup, OR restore them intentionally if the network label should show in the connected chip
  • Lint passes

Files to touch

  • frontend/src/components/wallet/WalletButton.tsx

Out of scope

  • The network-mismatch warning in the dropdown (keep it).

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programfrontendFrontend related tasksgood first issueGood for newcomersrefactorRefactoring existing code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions