mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 11:01:41 +01:00
6e49d0b5b5
The `confirm-seed-phrase` component extends PureComponent, so it doesn't need a `shouldComponentUpdate` function. The state is effectively immutable, as all state is either a primitive type or is updated with new instances rather than mutation. Removing this function will silence a warning message printed to the console during e2e tests (React doesn't want you to set this function on `PureComponent`s). Removing this function also exposed an unused piece of state, which has also been removed. |
||
---|---|---|
.. | ||
create-password | ||
end-of-flow | ||
first-time-flow-switch | ||
metametrics-opt-in | ||
seed-phrase | ||
select-action | ||
welcome | ||
first-time-flow.component.js | ||
first-time-flow.container.js | ||
first-time-flow.selectors.js | ||
index.js | ||
index.scss | ||
onboarding-initiator-util.js |