UNPKG

@web3auth/no-modal

Version:
18 lines (15 loc) 342 B
import { useContext } from 'react'; import { WalletServicesContext } from '../context/WalletServicesInnerContext.js'; const useWalletServicesPlugin = () => { const { ready, plugin, connecting } = useContext(WalletServicesContext); return { ready, plugin, connecting }; }; export { useWalletServicesPlugin };