Skip to content

Commit

Permalink
refactor: disable non evm chain for external wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
FazioNico committed Jun 4, 2024
1 parent 7261194 commit a365d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SelectNetwork.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const SelectNetwork: React.FC<SelectNetworkProps> = ({
button={true}
detail={false}
disabled={
isExternalWallet ? false : chain.type === "evm" ? false : true
isExternalWallet && chain.type !== "evm" ? true : false
}
style={{ "--background": "transparent" }}
onClick={() => dismiss(chain.id, "getAddressFromNetwork")}
Expand Down

0 comments on commit a365d26

Please sign in to comment.