1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/ui
Mark Stacey 1f45798707
Override ownProps with state props in SignatureRequest (#6911)
The `accounts` prop of `SignatureRequest` was throwing a PropType
warning because `accounts` was an object instead of an array. It looks
like when the `mergeProps` function was added in #6340, the ownProps
were accidentally set to override the state props.

The now ignored props have been removed from the parent `ConfirmTxScreen`
component as well. `conversionRate` was identical to the one retrieved
in `SignatureRequest`, and `selectedAddress` differed only in the
fallback behaviour when `state.metamask.selectedAddress` does not exist;
it will now default to the first account instead (as was the original
behavior, prior to #6340).
2019-07-26 10:39:13 -03:00
..
app Override ownProps with state props in SignatureRequest (#6911) 2019-07-26 10:39:13 -03:00
design [ImgBot] Optimize images (#1) (#6829) 2019-07-10 11:37:20 -03:00
lib Fixes bugs in 6.5.1 (#6613) 2019-05-15 10:53:09 +02:00
index.html Move responsive ui into its own folder for easier merges 2017-07-20 12:38:38 -07:00
index.js Rename accountManager usages (#6790) 2019-07-10 16:31:48 -02:30