mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 18:41:38 +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. |
||
---|---|---|
.. | ||
add-token | ||
confirm-add-suggested-token | ||
confirm-add-token | ||
confirm-approve | ||
confirm-deploy-contract | ||
confirm-send-ether | ||
confirm-send-token | ||
confirm-token-transaction-base | ||
confirm-transaction | ||
confirm-transaction-base | ||
confirm-transaction-switch | ||
connected-sites | ||
create-account | ||
first-time-flow | ||
home | ||
keychains | ||
lock | ||
mobile-sync | ||
permissions-connect | ||
routes | ||
send | ||
settings | ||
unlock-page | ||
index.js | ||
index.scss |