1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/pages/first-time-flow/seed-phrase
Mark Stacey 6e49d0b5b5
Remove unnecessary shouldComponentUpdate (#7875)
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.
2020-01-21 11:19:35 -04:00
..
confirm-seed-phrase Remove unnecessary shouldComponentUpdate (#7875) 2020-01-21 11:19:35 -04:00
reveal-seed-phrase eslint: Enable more react/jsx-* rules (#7592) 2019-12-03 13:05:44 -03:30
tests 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
index.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
index.scss Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
seed-phrase.component.js Add react/no-unused-prop-types ESLint rule (#7655) 2019-12-07 23:10:47 -04:00