mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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. |
||
---|---|---|
.. | ||
account-list-item | ||
send-content | ||
send-footer | ||
send-header | ||
tests | ||
index.js | ||
send.component.js | ||
send.constants.js | ||
send.container.js | ||
send.scss | ||
send.selectors.js | ||
send.utils.js |