1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/selectors
Mark Stacey 88ae10418b
Expand usage of getProviderConfig selector (#18906)
The `getProviderConfig` selector is now used anywhere the `provider`
state was previously referenced directly. This was done to simplify
renaming this state from `provider` to `providerConfig` in a later PR.

Note that there are many opportunities left to use more-specific
selectors (e.g. `getChainId()` over `getProviderConfig().chainId`), but
that was intentionally omitted from this PR to reduce the size. I
started going down this path and it quickly exploded in scope.

Relates to #18902
2023-05-02 10:06:24 -02:30
..
institutional
approvals.test.ts
approvals.ts
confirm-transaction.js
confirm-transaction.test.js
custom-gas.js
custom-gas.test.js
first-time-flow.js
index.js
metametrics.js
metametrics.test.js
nonce-sorted-transactions-selector.test.js
permissions.js
permissions.test.js
selectors.js Expand usage of getProviderConfig selector (#18906) 2023-05-02 10:06:24 -02:30
selectors.test.js Expand usage of getProviderConfig selector (#18906) 2023-05-02 10:06:24 -02:30
transactions.js Expand usage of getProviderConfig selector (#18906) 2023-05-02 10:06:24 -02:30
transactions.test.js