Hooks
useDynamicModals
Summary
This hook can be used to programmatically show/hide some dynamic modals. The hook needs to be initialized within a child of DynamicContextProvider.
Usage
Available functions and states:
Method | Type | Description |
---|---|---|
setShowLinkNewWalletModal | Dispatch<SetStateAction> | Use it to link a new wallet when the user is logged in |
Example
Was this page helpful?