All Questions
1 question
1
vote
1
answer
525
views
Errors when using `@project-serum/anchor` with Next.js v14 using Webpack 5
I am sharing my useWalletHook.tsx file:
"use client";
import { Program, AnchorProvider } from "@project-serum/anchor";
import {
useConnection,
useWallet as useAdapterWallet,
...