Update README.md

This commit is contained in:
Georges KABBOUCHI 2022-10-17 15:02:19 +03:00 committed by GitHub
parent acc6b9ac55
commit 58613ea67a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,9 +89,11 @@ If you disabled `@instadapp/vue-web3-nuxt` auto import:
```ts ```ts
//composables/useWeb3.ts //composables/useWeb3.ts
import Web3 from "web3"; import Web3 from "web3";
// import { Web3Provider } from "@ethersproject/providers";
import { useWeb3 as useWeb3Generic } from "@instadapp/vue-web3"; import { useWeb3 as useWeb3Generic } from "@instadapp/vue-web3";
const useWeb3 = () => useWeb3Generic<Web3>(); const useWeb3 = () => useWeb3Generic<Web3>();
// const useWeb3 = () => useWeb3Generic<Web3Provider>();
export { useWeb3 }; export { useWeb3 };
``` ```