Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable bnb network option on uniwallet #6452

Merged
merged 2 commits into from
Apr 27, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: disable bnb network option on uniwallet
  • Loading branch information
JFrankfurt committed Apr 26, 2023
commit 74fce2938c3115b9be26eae5ad197c30c3ceaf45
2 changes: 1 addition & 1 deletion src/components/NavBar/ChainSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const ChainSelector = ({ leftAlign }: ChainSelectorProps) => {
<Column paddingX="8">
{NETWORK_SELECTOR_CHAINS.map((chainId: SupportedChainId) => (
<ChainSelectorRow
disabled={isUniWallet && chainId === SupportedChainId.CELO}
disabled={isUniWallet && [SupportedChainId.CELO, SupportedChainId.BNB].includes(chainId)}
onSelectChain={onSelectChain}
targetChain={chainId}
key={chainId}
Expand Down