1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 19:10:22 +01:00
metamask-extension/ui/app/pages/first-time-flow/seed-phrase/confirm-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.component.js Remove unnecessary shouldComponentUpdate (#7875) 2020-01-21 11:19:35 -04:00
confirm-seed-phrase.container.js Add react/no-unused-prop-types ESLint rule (#7655) 2019-12-07 23:10:47 -04:00
draggable-seed.component.js Add react/no-unused-prop-types ESLint rule (#7655) 2019-12-07 23:10:47 -04:00
index.js I5849 incremental account security (#6874) 2019-08-02 01:27:26 -02:30
index.scss Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00