1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/ui
Ariella Vu 667350d15a
Convert ConfirmAddSuggestedToken to a functional component + cleanup (#13377)
* FC: ConfirmAddSuggestedToken
- change class to functional component

* clean: reorganize functions (no logic change)

* FC: ConfirmAddSuggestedToken pt. 2
- preserve trackEvent logic -> metricsEvent

* clean: rm _ prefix from fn name
- why? now, only 3 other functions remain prefixed w/ '_'

* clean: update useEffect hook

* clean: alphabetize props

* clean: functions in ConfirmAddSuggestedToken

* clean: use arrow fn for FC
2022-01-25 20:16:56 +00:00
..
__mocks__ Increase Jest unit test coverage for the Swaps feature to ~60% (#11343) 2021-07-02 08:48:34 -05:00
components Feat: Label hardware wallets (#13339) 2022-01-25 18:48:41 +01:00
contexts Implement event fragments (#12251) 2022-01-12 13:31:54 -06:00
css NFT UX cleanup grab-bag (#13352) 2022-01-20 11:49:49 -06:00
ducks Proper calculation of the gas limit (#12784) 2022-01-21 09:58:59 -06:00
helpers UI fixes in EIP-1559 V2 screens (#13367) 2022-01-22 05:53:02 +05:30
hooks Proper calculation of the gas limit (#12784) 2022-01-21 09:58:59 -06:00
pages Convert ConfirmAddSuggestedToken to a functional component + cleanup (#13377) 2022-01-25 20:16:56 +00:00
selectors Implement event fragments (#12251) 2022-01-12 13:31:54 -06:00
store NFT UX cleanup grab-bag (#13352) 2022-01-20 11:49:49 -06:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00