mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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
import { Story, Canvas, ArgsTable } from '@storybook/addon-docs'; import SignatureRequest from '.'; # Signature Request dApp requesting a signature from the user. <Canvas> <Story id="components-app-signaturerequest--default-story" /> </Canvas> ## Props <ArgsTable of={SignatureRequest} />