aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/pages/first-time-flow/create-password
diff options
context:
space:
mode:
authorMark Stacey <markjstacey@gmail.com>2019-07-26 21:39:13 +0800
committerGitHub <noreply@github.com>2019-07-26 21:39:13 +0800
commit1f45798707830fc913a2bff9ed1c5c86c1be83e7 (patch)
tree086a003665aba4cfb80bb4dd3c1e196e54527f2c /ui/app/pages/first-time-flow/create-password
parent1112277cd628378f8b0e659067456677ec9a45ac (diff)
downloadtangerine-wallet-browser-1f45798707830fc913a2bff9ed1c5c86c1be83e7.tar.gz
tangerine-wallet-browser-1f45798707830fc913a2bff9ed1c5c86c1be83e7.tar.zst
tangerine-wallet-browser-1f45798707830fc913a2bff9ed1c5c86c1be83e7.zip
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).
Diffstat (limited to 'ui/app/pages/first-time-flow/create-password')
0 files changed, 0 insertions, 0 deletions