[...]
⨯ ../node_modules/@solana/wallet-adapter-react/lib/esm/useConnection.js (2:47) @ eval
⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
at eval (webpack-internal:///(rsc)/../node_modules/@solana/wallet-adapter-react/lib/esm/useConnection.js:8:93)
at (rsc)/../node_modules/@solana/wallet-adapter-react/lib/esm/useConnection.js
[...]
Describe the bug While trying the example in "https://www.soldev.app/course/interact-with-wallets" , in a new NextJS 14 and 13 environement created with
console gave this error:
To Reproduce Steps to reproduce the behavior:
npx create-next-app@latest
npm run dev
Expected behavior page to load
Screenshots![image](https://github.com/anza-xyz/wallet-adapter/assets/24362124/1e40ab71-d8f0-44d9-a878-8a5db7a8c894)
Desktop (please complete the following information):