1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/ui/pages
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
..
add-collectible Add modal with directions to re-add token as NFT (#13291) 2022-01-19 12:42:41 -06:00
asset Add modal with directions to re-add token as NFT (#13291) 2022-01-19 12:42:41 -06:00
confirm-add-suggested-token Convert ConfirmAddSuggestedToken to a functional component + cleanup (#13377) 2022-01-25 20:16:56 +00:00
confirm-approve
confirm-decrypt-message
confirm-deploy-contract
confirm-encryption-public-key
confirm-import-token
confirm-send-ether
confirm-send-token
confirm-token-transaction-base
confirm-transaction
confirm-transaction-base UI fixes in EIP-1559 V2 screens (#13367) 2022-01-22 05:53:02 +05:30
confirm-transaction-switch
confirmation
connected-accounts
connected-sites
create-account Update global link hover color from orange to blue (--Blue-400) (#13344) 2022-01-19 11:59:52 -07:00
error
first-time-flow
home
import-token Add modal with directions to re-add token as NFT (#13291) 2022-01-19 12:42:41 -06:00
keychains
lock
mobile-sync
onboarding-flow
permissions-connect
routes
send Refactor currency input component and ensure currency toggle persists between settings (#12813) 2022-01-20 09:42:13 -06:00
settings
swaps Fixing warnings in unit test cases (#13349) 2022-01-20 00:04:22 +05:30
unlock-page
index.js
pages.scss