1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/ui/pages/swaps
Daniel f6576801d4
Fix an edge case with missing top assets in Swaps (#14688)
* If there is no array of top assets in a response, use an empty array

* Set a default empty array for 2 functions, remove an unnecessary condition

* Redirect a user from Swaps to the homepage if they switch to a chain that is not supported in Swaps

* Fix errors in the UI Console when it's not a swaps chain
2022-05-24 18:30:46 +02:00
..
__snapshots__ Swaps UI redesign for the View Quote page (#12950) 2021-12-07 00:21:26 -03:30
awaiting-signatures MetaMetrics: Add EVENT.CATEGORIES const (#14474) 2022-04-22 13:09:10 -03:00
awaiting-swap MetaMetrics: Add EVENT.CATEGORIES const (#14474) 2022-04-22 13:09:10 -03:00
build-quote MetaMetrics: Add EVENT.CATEGORIES const (#14474) 2022-04-22 13:09:10 -03:00
countdown-timer Swaps timer improvements, optional refresh rates and fix for a notification UI (#14300) 2022-04-04 15:14:50 +02:00
dropdown-input-pair Dark mode: Updating arrows icon in build quote (#14155) 2022-03-23 12:07:29 -07:00
dropdown-search-list MetaMetrics: Add EVENT.CATEGORIES const (#14474) 2022-04-22 13:09:10 -03:00
exchange-rate-display Dark Mode: Fix some colors (#14228) 2022-03-28 10:23:27 -07:00
fee-card Remove gas editing in Swaps (#14673) 2022-05-11 20:30:03 +02:00
import-token Dark Mode: Fix Import Token Styles (#14099) 2022-03-22 11:21:32 -07:00
loading-swaps-quotes MetaMetrics: Add EVENT.CATEGORIES const (#14474) 2022-04-22 13:09:10 -03:00
main-quote-summary Dark Mode: Swap hex colors in ui/pages (#14214) 2022-03-25 15:15:31 -07:00
searchable-item-list MetaMetrics: Add EVENT.CATEGORIES const (#14474) 2022-04-22 13:09:10 -03:00
select-quote-popover Add hideEstimatedGasFee prop to sort-list and select-quote-popover tests (#14725) 2022-05-19 10:43:31 -07:00
slippage-buttons Show STX switch for wrapping / unwrapping (#14225) 2022-03-30 10:02:55 +02:00
smart-transaction-status Swaps / STX improvements (#14622) 2022-05-09 18:48:14 +02:00
swaps-footer Dark mode: Updating all left over static hex values in scss (#14167) 2022-03-24 19:08:08 +01:00
view-quote Change styles for the high price impact notification in Swaps (#14697) 2022-05-12 19:57:05 +02:00
index.js Fix an edge case with missing top assets in Swaps (#14688) 2022-05-24 18:30:46 +02:00
index.scss Swaps timer improvements, optional refresh rates and fix for a notification UI (#14300) 2022-04-04 15:14:50 +02:00
index.test.js Send all swaps requests to api2, remove useNewSwapsApi boolean (#12792) 2021-11-30 19:56:28 +01:00
swaps-util-test-constants.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
swaps.util.js Fix an edge case with missing top assets in Swaps (#14688) 2022-05-24 18:30:46 +02:00
swaps.util.test.js Add a new fiat onboarding option via MoonPay (#13934) 2022-03-21 10:26:52 +01:00