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

Migrate AvatarToken #19046

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 4 additions & 4 deletions shared/constants/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ import { capitalize, pick } from 'lodash';
* A type representing any valid value for 'type' for setProviderType and other
* methods that add or manipulate networks in MetaMask state.
*/
export type NetworkType = (typeof NETWORK_TYPES)[keyof typeof NETWORK_TYPES];
export type NetworkType = typeof NETWORK_TYPES[keyof typeof NETWORK_TYPES];

/**
* A union type of all possible hard-coded chain ids. This type is not
* exhaustive and cannot be used for typing chainId in areas where the user or
* dapp may specify any chainId.
*/
export type ChainId = (typeof CHAIN_IDS)[keyof typeof CHAIN_IDS];
export type ChainId = typeof CHAIN_IDS[keyof typeof CHAIN_IDS];

/**
* A type that is a union type of all possible hardcoded currency symbols.
* This type is non-exhaustive, and cannot be used for areas where the user
* or dapp may supply their own symbol.
*/
export type CurrencySymbol =
(typeof CURRENCY_SYMBOLS)[keyof typeof CURRENCY_SYMBOLS];
typeof CURRENCY_SYMBOLS[keyof typeof CURRENCY_SYMBOLS];
/**
* Test networks have special symbols that combine the network name and 'ETH'
* so that they are distinct from mainnet and other networks that use 'ETH'.
*/
export type TestNetworkCurrencySymbol =
(typeof TEST_NETWORK_TICKER_MAP)[keyof typeof TEST_NETWORK_TICKER_MAP];
typeof TEST_NETWORK_TICKER_MAP[keyof typeof TEST_NETWORK_TICKER_MAP];

/**
* An object containing preferences for an RPC definition
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this file should have changes even if just formatting. Could you please revert thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure!

Expand Down

This file was deleted.

133 changes: 0 additions & 133 deletions ui/components/component-library/avatar-token/avatar-token.js

This file was deleted.

Loading