@web3auth/no-modal
Version:
Multi chain wallet aggregator for web3Auth
11 lines (8 loc) • 342 B
JavaScript
import { useContext } from 'react';
import { WalletServicesContext } from '../context/WalletServicesInnerContext.js';
const useWalletServicesPlugin = () => {
const context = useContext(WalletServicesContext);
if (!context) throw new TypeError("WalletServicesContext not found");
return context;
};
export { useWalletServicesPlugin };