1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app
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
..
components Fix batch transaction UX (#7473) 2020-01-10 06:34:02 -08:00
css React 16 upgrade (#7476) 2019-12-06 11:40:06 -04:00
ducks Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
helpers Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
pages Remove unused props, prevent redundant gas update (#7769) 2020-01-10 10:39:44 -04:00
selectors Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
store Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30