You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error when trying to implement WalletKit in Next.js:
Error: Component must be wrapped with <Container.Provider>
at Object.useContainer (/home/markj/myapp/node_modules/unstated-next/dist/unstated-next.js:21:13)
at useContainer (/home/markj/myapp/node_modules/unstated-next/dist/unstated-next.js:33:20)
at useSolana (/home/markj/myapp/packages/mypackage/node_modules/@saberhq/use-solana/dist/cjs/context.js:66:58)
at useWallet (/home/markj/myapp/packages/mypackage/node_modules/@saberhq/use-solana/dist/cjs/hooks.js:9:45)
at useConnectedWallet (/home/markj/myapp/packages/mypackage/node_modules/@saberhq/use-solana/dist/cjs/hooks.js:20:35)
at GokiWallet (webpack-internal:///./components/GokiWallet/GokiWallet.tsx:33:91)
at processChild (/home/markj/myapp/node_modules/react-dom/cjs/react-dom-server.node.development.js:3353:14)
at resolve (/home/markj/myapp/node_modules/react-dom/cjs/react-dom-server.node.development.js:3270:5)
at ReactDOMServerRenderer.render (/home/markj/myapp/node_modules/react-dom/cjs/react-dom-server.node.development.js:3753:22)
at ReactDOMServerRenderer.read (/home/markj/myapp/node_modules/react-dom/cjs/react-dom-server.node.development.js:3690:29)
error - Error: Component must be wrapped with <Container.Provider>
But I do have the hook wrapped in the WalletKit provider as in the example. What could this this error be indicating?
The text was updated successfully, but these errors were encountered:
I'm getting this error when trying to implement WalletKit in Next.js:
But I do have the hook wrapped in the WalletKit provider as in the example. What could this this error be indicating?
The text was updated successfully, but these errors were encountered: