assembly/composables/useWeb3Modal.ts
Georges KABBOUCHI fe9ba6d716 wip
2021-08-31 22:23:47 +03:00

11 lines
242 B
TypeScript

import { useModal } from "./useModal";
import Web3Modal from "~/components/modal/web3/Web3Modal.vue";
export const useWeb3Modal = () => {
const { showComponent } = useModal();
return {
open: () => showComponent(Web3Modal)
};
};