diff --git a/src/index.ts b/src/index.ts index 441c499..74f05f3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,3 @@ -import './@types/globals' - export * from './providers' export * from './hooks' // export * from './components' diff --git a/src/providers/Web3Provider/Web3Provider.tsx b/src/providers/Web3Provider/Web3Provider.tsx index 0808870..6fefb7f 100644 --- a/src/providers/Web3Provider/Web3Provider.tsx +++ b/src/providers/Web3Provider/Web3Provider.tsx @@ -1,10 +1,4 @@ -import React, { - ReactNode, - useContext, - useState, - createContext, - useEffect -} from 'react' +import React, { useContext, useState, createContext, useEffect } from 'react' import Web3 from 'web3' import { getWeb3 } from './utils' diff --git a/tsconfig.json b/tsconfig.json index cfce06e..e8731c6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,5 +10,5 @@ "sourceMap": true, "declaration": true }, - "files": ["./src/index.ts"] + "include": ["./src/@types", "./src/index.ts"] }