Skip to content

fix: hide chain row when venue = single chain - #1503

Merged
Flotapponnier merged 3 commits into
devfrom
feat/hide-single-chain-row
Jul 26, 2026
Merged

fix: hide chain row when venue = single chain#1503
Flotapponnier merged 3 commits into
devfrom
feat/hide-single-chain-row

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

When a venue is only on one chain (Pump.fun→Solana, Four.meme→BNB, Pons→Robinhood, Moonshot→Solana, Meteora DBC→Solana), the cross-dimension filter leaves only [all, <one-chain>] in filteredChainOptions. Showing "All Chains | Solana" when Pump.fun is Solana-only is redundant and confusing.

Fix: only render the Chain row when filteredChainOptions.length > 2 (i.e., all + at least 2 chains). Virtuals (Base + Robinhood) still shows the row correctly.

@Flotapponnier
Flotapponnier merged commit 7feebd4 into dev Jul 26, 2026
1 check failed
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