1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
metamask-extension/ui/app/pages
Mark Stacey f20e028cde
Remove unused props, prevent redundant gas update (#7769)
These unused props weren't being caught by ESLint because this
component extended another, which I guess made it difficult for the
React plugin to determine what was unused.

The `componentWillUpdate` logic was moved into `componentDidUpdate` so
that it would be picked up by ESLint. Also it seemed like a sensible
place for it to go. Having three redundant gas updates as part of
the same lifecycle function seemed too far, so I ensured it's
only called once.
2020-01-10 10:39:44 -04:00
..
add-token Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
confirm-add-suggested-token Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
confirm-add-token Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
confirm-approve Add react/no-unused-prop-types ESLint rule (#7655) 2019-12-07 23:10:47 -04:00
confirm-deploy-contract Disable unnecessary curly braces in JSX (#7454) 2019-11-18 11:38:47 -03:30
confirm-send-ether Disable unnecessary curly braces in JSX (#7454) 2019-11-18 11:38:47 -03:30
confirm-send-token Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
confirm-token-transaction-base Fix confirm token transaction amount display (#7081) 2019-08-31 13:26:49 -03:00
confirm-transaction Fix batch transaction UX (#7473) 2020-01-10 06:34:02 -08:00
confirm-transaction-base Fix batch transaction UX (#7473) 2020-01-10 06:34:02 -08:00
confirm-transaction-switch Fix batch transaction UX (#7473) 2020-01-10 06:34:02 -08:00
connected-sites Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
create-account Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
first-time-flow Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
home React 16 upgrade (#7476) 2019-12-06 11:40:06 -04:00
keychains Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
lock Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
mobile-sync Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
permissions-connect Disable semicolons for class props (#7754) 2020-01-07 16:40:44 -03:30
routes Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
send Remove unused props, prevent redundant gas update (#7769) 2020-01-10 10:39:44 -04:00
settings Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
unlock-page Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
index.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
index.scss Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00