1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
metamask-extension/ui/app/selectors/tests
Mark Stacey ddaa492751
Use send state for send flow token (#8695)
The chosen token in the `send` flow was set from one of two places:
`metamask.selectedTokenAddress` or `metamask.send.token`. The former is
used most of the time, but the latter is used for the 'Edit' button
shown in the upper-left of the confirmation UI.

The send flow will now exclusively use `metamask.send.token` for the
token state during the send flow. `metamask.selectedTokenAddress` is
now only used for the selected token state on the Home screen. This
simplifies the Redux state, as the send token is now in one place
instead of two, and `metamask.selectedTokenAddress` has only one
purpose.
2020-05-29 14:46:10 -03:00
..
confirm-transaction.test.js Consolidate selector tests (#8510) 2020-05-05 07:05:16 -07:00
custom-gas.test.js Reorganize selectors directory (#8497) 2020-05-02 12:41:17 -07:00
permissions.test.js Localize permission descriptions (#8661) 2020-05-27 18:15:10 -02:30
selectors.test.js Extract selected token from token input (#8692) 2020-05-28 19:08:11 -03:00
send-selectors-test-data.js Disallow all anonymous default export, aside from CSF and migrations (#8535) 2020-05-18 21:18:11 -02:30
send.test.js Use send state for send flow token (#8695) 2020-05-29 14:46:10 -03:00
transactions.test.js Refactor transaction list token filtering (#8669) 2020-05-28 00:11:15 -03:00