Brad Decker
2ebf8756a4
[RFC] add prettier to eslint ( #8595 )
2020-11-02 17:41:28 -06:00
David Walsh
77dc0ab008
Make swap arrows accessible, make swaps advanced options accessible ( #9750 )
2020-10-30 09:35:47 -05:00
David Walsh
a6fd1266aa
Fix 9638 - Prevent excessive overflow from swap dropdowns
2020-10-19 16:11:34 -05:00
Dan J Miller
0558689636
Compare convert ethBalance to decimal before comparing to fromTokenBalance in useEffect for eth token balance update ( #9607 )
2020-10-14 16:48:21 -02:30
David Walsh
d0152aad51
Use localizations for placeholders in Swap ( #9587 )
2020-10-14 14:15:44 -02:30
David Walsh
48dd3fe069
AutoFocus the from input on swaps screen ( #9581 )
2020-10-14 14:13:55 -02:30
Dan J Miller
2563180a88
Data consistency swaps token balance ( #9588 )
...
* Explicitly set balance and string on the swaps from token in token-overview
* Set swapsFromToken balance to a decimal instead of a hex on eth balance change in build-quote
2020-10-14 14:09:04 -02:30
Dan J Miller
dfb722b6ed
Hex prefix newly fetched token balances in build-quote ( #9586 )
...
* Hex prefix newly fetched token balances in build-quote
* Set balance to dec WEI string instead of hex when adding token via swap from select
2020-10-13 17:38:24 -02:30
Dan J Miller
a9d156e611
Fix and simplify account switching in Swaps ( #9549 )
...
* Ensure rendered swap from token balance updates when token balance changes
* Disable account switching on all swaps routes other than build quote
2020-10-12 14:21:01 -02:30
Dan J Miller
436b01387c
Add useSwapsEthToken hook and utilize wherever we need the ETH 'token' for swaps ( #9537 )
...
* Add useSwapsEthToken hook and utilize wherever we need the ETH 'token' for swaps
* Remove rawEthTokens param from useTokensToSearch calls
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Erik Marks <rekmarks@protonmail.com>
2020-10-09 12:17:56 -07:00
Dan J Miller
549140f6f5
Remove max mode for eth feature from swaps ( #9531 )
...
* Remove max mode for eth feature from swaps
* Fix unit tests after removing maxMode from swaps
2020-10-09 12:26:23 -02:30
Dan J Miller
a939853989
Ensure all of a token is swapped when clicking max in swaps ( #9507 )
2020-10-07 18:38:34 -07:00
Dan J Miller
30d13422b5
Add MetaMask Swaps ( #9482 )
2020-10-06 15:58:38 -02:30