Skip to content

fix: remove debug console.log from useNetwork hook#622

Open
crazywriter1 wants to merge 2 commits into
inkonchain:mainfrom
crazywriter1:fix/remove-networks-debug-log
Open

fix: remove debug console.log from useNetwork hook#622
crazywriter1 wants to merge 2 commits into
inkonchain:mainfrom
crazywriter1:fix/remove-networks-debug-log

Conversation

@crazywriter1

Copy link
Copy Markdown

Summary

  • Removes a leftover debug console.log from useNetwork in src/utils/networks.ts that ran on every render of the Connect Wallet page.

Why

The log (${network} is added: ${isAdded}) added unnecessary console noise without providing user-facing value. Error handling via console.error is unchanged.

Test plan

  • Open /general/connect-wallet
  • Confirm Mainnet and Sepolia network sections still render
  • Confirm debug console.log is removed from useNetwork

@crazywriter1 crazywriter1 requested a review from a team as a code owner July 1, 2026 12:09
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.

1 participant