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