-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next.js 13 App Router Issue #106
Comments
looks like our demo app uses Next version 13.0.0 https://github.com/aptos-labs/aptos-wallet-adapter/blob/main/apps/nextjs-example/package.json#L30 , what is the exact Next version you are trying to use? |
yes, I am trying to use the wallet adapter with Next 13.0.0 and the new app directory that I am talking about is this one: https://beta.nextjs.org/docs/routing/fundamentals, looks like your demo app is developed in the old way with pages/ |
For any pages that involving the wallets, should be done in browser side. The simple solution is add |
Hello,
I am working on a project with Next.js 13 and it seems that there is this error when I am using
useWallet
in any file of theapp
dir.Implementing the old way with pages and _app.tsx has no problems.
The text was updated successfully, but these errors were encountered: