type NetworkSelectorChainProps = { chain: Chain; close?: () => void; switchChain: () => void; switchFailed: boolean; switching: boolean;};