1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui
Mark Stacey 3563a246fe
Allow templates without alerts (#13150)
The confirmation page template system allows templates to have alerts,
but it throws an uncaught Promise rejection if a template has no
alerts. This is the unintended side-effect of input validation.

The `getTemplateAlerts` function was updated to always return an array.
The one callsite was updated to expect an empty array if there were no
alerts to render, rather than expecting `undefined`.
2022-01-03 11:32:15 -03:30
..
__mocks__
components maintain nft image aspect ratios and center images in collection view (#13136) 2021-12-22 15:19:48 -06:00
contexts Using EIP-1559 V2 for approve transaction flow (#12906) 2021-12-06 22:09:35 +05:30
css Feat/collectibles the return (#12970) 2021-12-13 17:41:10 -06:00
ducks Feat/collectibles the return (#12970) 2021-12-13 17:41:10 -06:00
helpers Feat/collectibles the return (#12970) 2021-12-13 17:41:10 -06:00
hooks Choose accounts refactor (#13039) 2021-12-14 18:54:46 -05:00
pages Allow templates without alerts (#13150) 2022-01-03 11:32:15 -03:30
selectors Remove duplicate selector getPermissionSubjectsMetadata (#13144) 2021-12-22 16:31:48 -03:30
store Use promisified background in setUseNonceField (#13107) 2021-12-16 15:36:32 -03:30
1.INTRODUCTION.stories.mdx
2.DOCUMENTATION.stories.mdx Updating storybook documentation guidelines (#12957) 2021-12-07 10:24:06 -08:00
index.js