1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app
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
..
components Add withFixtures helper and simple-send test (#7862) 2020-01-20 14:50:25 -04:00
css Make account details modal close button easier to click (#7797) 2020-01-10 10:43:53 -04:00
ducks Remove unused current view related things (#7843) 2020-01-16 13:02:44 -04:00
helpers Consistent jsdoc syntax (#7755) 2020-01-13 14:36:36 -04:00
pages Remove unnecessary shouldComponentUpdate (#7875) 2020-01-21 11:19:35 -04:00
selectors Remove unused current view related things (#7843) 2020-01-16 13:02:44 -04:00
store Force background state update after removing an account (#7840) 2020-01-16 13:43:40 -04:00