Brad Decker
2ebf8756a4
[RFC] add prettier to eslint ( #8595 )
4 years ago
David Walsh
77dc0ab008
Make swap arrows accessible, make swaps advanced options accessible ( #9750 )
4 years ago
David Walsh
a6fd1266aa
Fix 9638 - Prevent excessive overflow from swap dropdowns
4 years ago
Dan J Miller
0558689636
Compare convert ethBalance to decimal before comparing to fromTokenBalance in useEffect for eth token balance update ( #9607 )
4 years ago
David Walsh
d0152aad51
Use localizations for placeholders in Swap ( #9587 )
4 years ago
David Walsh
48dd3fe069
AutoFocus the from input on swaps screen ( #9581 )
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
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>
4 years ago
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
4 years ago
Dan J Miller
a939853989
Ensure all of a token is swapped when clicking max in swaps ( #9507 )
4 years ago
Dan J Miller
30d13422b5
Add MetaMask Swaps ( #9482 )
4 years ago