Skip to content

Commit bcc92c4

Browse files
committed
fix incosistent order of chain namespaces in selector
1 parent 6b7f2be commit bcc92c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/modal/src/ui/components/ConnectWallet/ConnectWalletChainNamespaceSelect/ConnectWalletChainNamespaceSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const ConnectWalletChainNamespaceSelect = (props: ConnectWalletChainNamespaceSel
99
const { isDark, wallet, handleExternalWalletClick } = props;
1010
const [t] = useTranslation(undefined, { i18n });
1111

12-
const chainNamespaces = wallet.chainNamespaces!.map((chainNamespace) => {
12+
const chainNamespaces = wallet.chainNamespaces!.sort().map((chainNamespace) => {
1313
const imageId = chainNamespace === "eip155" ? "evm" : chainNamespace;
1414
const displayName = chainNamespace === "eip155" ? "EVM" : chainNamespace;
1515
return {

0 commit comments

Comments
 (0)