mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
f20e028cde
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. |
||
---|---|---|
.. | ||
components | ||
css | ||
ducks | ||
helpers | ||
pages | ||
selectors | ||
store |