1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui
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
..
app Remove unnecessary shouldComponentUpdate (#7875) 2020-01-21 11:19:35 -04:00
lib Remove unused PersistentForm (#7770) 2020-01-10 11:55:27 -04:00
index.js Fix batch transaction UX (#7473) 2020-01-10 06:34:02 -08:00