diff --git a/src/hooks/useMetadata/useMetadata.ts b/src/hooks/useMetadata/useMetadata.ts index 66a887a..f4f6d06 100644 --- a/src/hooks/useMetadata/useMetadata.ts +++ b/src/hooks/useMetadata/useMetadata.ts @@ -56,4 +56,4 @@ function useMetadata(did?: DID | string): UseMetadata { } export { useMetadata, UseMetadata } -export default useConsume +export default useMetadata diff --git a/src/providers/OceanProvider/OceanProvider.tsx b/src/providers/OceanProvider/OceanProvider.tsx index e0ecc82..6937bdc 100644 --- a/src/providers/OceanProvider/OceanProvider.tsx +++ b/src/providers/OceanProvider/OceanProvider.tsx @@ -35,8 +35,8 @@ function OceanProvider({ }: { config: Config web3: Web3 | undefined - children: ReactNode -}): ReactNode { + children: any +}): any { const [ocean, setOcean] = useState() const [aquarius, setAquarius] = useState() const [account, setAccount] = useState() diff --git a/src/providers/Web3Provider/Web3Provider.tsx b/src/providers/Web3Provider/Web3Provider.tsx index add7e59..0808870 100644 --- a/src/providers/Web3Provider/Web3Provider.tsx +++ b/src/providers/Web3Provider/Web3Provider.tsx @@ -18,7 +18,7 @@ interface Web3ProviderValue { const Web3Context = createContext(null) -function Web3Provider({ children }: { children: ReactNode }): ReactNode { +function Web3Provider({ children }: { children: any }): any { const [web3, setWeb3] = useState() const [chainId, setChainId] = useState() const [account, setAccount] = useState()