zeta-chain / universalkit

UniversalKit by ZetaChain provides a set of React components designed to make building universal applications easier.
https://www.zetachain.com/docs/developers/frontend/universalkit/
MIT License
6 stars 3 forks source link

Components from UniversalKit cannot access wagmi #4

Closed fadeev closed 3 months ago

fadeev commented 3 months ago

Template: https://github.com/zeta-chain/template/pull/63

When you add components to page.tsx they can't access wagmi:

WagmiProviderNotFoundError: `useConfig` must be used within `WagmiProvider`.

Even though components are clearly nested under the wagmi provider in the template:

https://github.com/zeta-chain/template/blob/f044047fab84d5fa576c5ade12ddce37e4c6f9ac/web/src/app/providers.tsx#L14-L18