1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/app/pages
Thomas Huang 44448465ed
Validate sendToken address when component updates (#9907)
* Validate sendToken address when component updates

On a reproduction of trying to get the error message it seems that if an token address is provided in the address form with ETH selected then changing to a token address, the error message won't show.

This will validate the sendtoken address on prop change to properly update the warning message.

* Update test to include second doesAmountErrorRequireUpdate call when state is updated and component is updated
2020-11-19 07:35:42 -08:00
..
add-token Provide alternative text for images where appropriate 2020-11-11 09:38:15 -06:00
asset Use getTokenTrackerLink for asset view etherscan link in token-asset.js (#9913) 2020-11-19 00:59:42 -03:30
confirm-add-suggested-token Track a new schema event when adding a token (#9810) 2020-11-17 11:39:21 -06:00
confirm-add-token Track a new schema event when adding a token (#9810) 2020-11-17 11:39:21 -06:00
confirm-approve Provide alternative text for images where appropriate 2020-11-11 09:38:15 -06:00
confirm-decrypt-message Provide alternative text for images where appropriate 2020-11-11 09:38:15 -06:00
confirm-deploy-contract [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
confirm-encryption-public-key Provide alternative text for images where appropriate 2020-11-11 09:38:15 -06:00
confirm-send-ether Use optional chaining for functions 2020-11-05 10:28:24 -06:00
confirm-send-token Use optional chaining for functions 2020-11-05 10:28:24 -06:00
confirm-token-transaction-base Merge pull request #9853 from darkwing/image-updates 2020-11-13 13:44:55 -06:00
confirm-transaction expand transaction constants coverage (#9790) 2020-11-07 01:38:12 -06:00
confirm-transaction-base expand transaction constants coverage (#9790) 2020-11-07 01:38:12 -06:00
confirm-transaction-switch Use optional chaining for functions 2020-11-05 10:28:24 -06:00
connected-accounts [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
connected-sites [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
create-account Include error string from ledger errors (#9911) 2020-11-19 07:35:20 -08:00
error [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
first-time-flow Merge pull request #9853 from darkwing/image-updates 2020-11-13 13:44:55 -06:00
home Track whether seed phrase has been backed up (#9830) 2020-11-10 12:34:20 -03:30
keychains Autofocus input, improve accessibility of restore page (#9748) 2020-11-03 12:40:12 -06:00
lock Revert "Remove unnecessary lock page (#9793)" (#9825) 2020-11-09 10:20:24 -03:30
mobile-sync [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
permissions-connect [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
routes Revert "Remove unnecessary lock page (#9793)" (#9825) 2020-11-09 10:20:24 -03:30
send Validate sendToken address when component updates (#9907) 2020-11-19 07:35:42 -08:00
settings Move add contact button in fullscreen/expanded view lower. (#9883) 2020-11-16 12:07:48 -08:00
swaps Ensure custom slippage is a number (#9915) 2020-11-19 11:56:55 -03:30
unlock-page Make the login screen's Restore and Import links accessible (#9746) 2020-11-03 13:42:47 -06:00
index.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
pages.scss Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30