1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/app/scripts
Mark Stacey 4086f7b4d6
Fix error when fetchParams is null (#9757)
If the swaps state is cleared in between the initial quote fetch and
the subsequent poll fetch, a `TypeError` will be thrown due to
`fetchParams` being set to `null`.

This is of no functional consequence, as `fetchParams` _should_ be
`null` in this case, and and no further action should be taken.

The optional chaining operator is now used to ensure the call no longer
throws.
2020-10-29 15:52:04 -02:30
..
account-import-strategies
controllers Fix error when fetchParams is null (#9757) 2020-10-29 15:52:04 -02:30
lib remove matomo and route to segment (#9646) 2020-10-26 14:05:57 -05:00
migrations Remove incorrect Migrator comment (#9659) 2020-10-20 11:34:55 -02:30
platforms Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
background.js Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
chromereload.js
contentscript.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
first-time-state.js Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
inpage.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
metamask-controller.js Fix swaps when initial network not Mainnet (#9745) 2020-10-28 16:17:32 -02:30
phishing-detect.js Fix import/order issues (#9239) 2020-08-18 16:48:25 -02:30
ui.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30