1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/ui/app
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
..
components Override ownProps with state props in SignatureRequest (#6911) 2019-07-26 10:39:13 -03:00
css Remove AccountDropdownMini component (#6906) 2019-07-25 08:55:43 -03:00
ducks Remove seedWords completely from metamask state (#6920) 2019-07-26 10:35:21 -03:00
helpers Remove unused route constants (#6918) 2019-07-26 08:26:27 -03:00
pages Override ownProps with state props in SignatureRequest (#6911) 2019-07-26 10:39:13 -03:00
selectors Version 6.7.2 gas limit fix (#6786) 2019-07-04 14:14:03 -02:30
store Remove seedWords completely from metamask state (#6920) 2019-07-26 10:35:21 -03:00