Skip to content

fix: show chain selector for single-chain apps - #2698

Open
ayaanoncrypto wants to merge 2 commits into
rainbow-me:mainfrom
ayaanoncrypto:fix/show-single-chain-selector-clean
Open

ayaanoncrypto wants to merge 2 commits into
rainbow-me:mainfrom
ayaanoncrypto:fix/show-single-chain-selector-clean

Conversation

@ayaanoncrypto

Copy link
Copy Markdown

Summary

Closes #1418.

Render the current chain selector whenever a connected account has chain data. Single-chain applications now show the active chain in the Connect Button, matching multi-chain and unsupported-chain behavior.

Testing

  • git diff --check passed.
    • Reviewed the existing ConnectButton rendering path.
    • The focused test command was attempted, but local Prettier and Vitest binaries were unavailable. The repository鈥檚 CI should run the full suite.

@ayaanoncrypto
ayaanoncrypto requested a review from a team August 19, 2026 21:07
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the rainbowdotme Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Aug 19, 2026 •

Copy link
Copy Markdown

馃 Changeset detected

Latest commit: e2fbddf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 18 packages
Name Type
@rainbow-me/rainbowkit Patch
example Patch
@rainbow-me/rainbow-button Patch
rainbowkit-next-app Patch
site Patch
with-create-react-app Patch
with-next-app-i18n Patch
with-next-app Patch
with-next-custom-button Patch
with-next-mint-nft Patch
with-next-siwe-iron-session Patch
with-next-siwe-next-auth Patch
with-next-wallet-button Patch
with-next Patch
with-react-router Patch
with-remix Patch
with-vite Patch
with-next-rainbow-button Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃挕 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 97ebd86e41

鈩癸笍 About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 馃憤.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

{ready && account && connectionStatus === 'connected' ? (
<>
{chain && (chains.length > 1 || unsupportedChain) && (
{chain && (

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add a changeset for the ConnectButton behavior change

This alters user-facing behavior in the published @rainbow-me/rainbowkit package, but the commit includes no .changeset entry. Without a patch changeset, the release workflow will not record or version this fix for consumers; add one covering the core package.

AGENTS.md reference: AGENTS.md:L99-L104

Useful? React with 馃憤聽/ 馃憥.

This branch has not been deployed

No deployments
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.

[bug] Chains not shown for Connect Button if only one chain

1 participant