1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 19:10:22 +01:00
metamask-extension/ui/app/pages/add-token
Mark Stacey cfadc7592e
Avoid mutating module export (#8775)
The `eth-contracts-metadata` export was mutated in `token-list.js` to
add the token address to the contract metadata, and this was taken
advantage of in the token search component.

Instead, the address is now added to a copy of the token metadata in
the one place it's used. The module export is no longer mutated, and
the unused `defaultTokens` variable in `token-list.js` has been
removed.
2020-06-10 13:27:35 -03:00
..
tests Implement asset page (#8696) 2020-06-01 14:54:32 -03:00
token-list Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
token-search Avoid mutating module export (#8775) 2020-06-10 13:27:35 -03:00
add-token.component.js Fix disabled prop type in AddToken component (#8723) 2020-06-02 18:47:43 -03:00
add-token.container.js Implement asset page (#8696) 2020-06-01 14:54:32 -03:00
index.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
index.scss Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
util.js Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30