Skip to content

Commit

Permalink
fix: casing
Browse files Browse the repository at this point in the history
  • Loading branch information
montelaidev committed Jul 2, 2024
1 parent 41cd387 commit 47cd8ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import { MetaMetricsEventCategory } from '../../../../../shared/constants/metame
import ZENDESK_URLS from '../../../../helpers/constants/zendesk-url';
import {
InternalAccountPropType,
MultichainNetworkProptype,
MultichainNetworkPropType,
} from '../../../../selectors/multichain';

export default class ConfirmRemoveAccount extends Component {
static propTypes = {
hideModal: PropTypes.func.isRequired,
removeAccount: PropTypes.func.isRequired,
account: InternalAccountPropType.isRequired,
network: MultichainNetworkProptype.isRequired,
network: MultichainNetworkPropType.isRequired,
};

static contextTypes = {
Expand Down
7 changes: 3 additions & 4 deletions ui/selectors/multichain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,14 @@ export type MultichainNetwork = {
nickname: string;
isEvmNetwork: boolean;
chainId: CaipChainId;
network:
// TODO: Maybe updates ProviderConfig to add rpcPrefs.imageUrl field
| (ProviderConfig & {
network: // TODO: Maybe updates ProviderConfig to add rpcPrefs.imageUrl field
| (ProviderConfig & {
rpcPrefs?: { blockExplorerUrl?: string; imageUrl?: string };
})
| MultichainProviderConfig;
};

export const MultichainNetworkProptype = PropTypes.shape({
export const MultichainNetworkPropType = PropTypes.shape({
nickname: PropTypes.string.isRequired,
isEvmNetwork: PropTypes.bool.isRequired,
chainId: PropTypes.string,
Expand Down

0 comments on commit 47cd8ec

Please sign in to comment.