I'm starting to develop a project. However I'm stuck on an error since a few days that I can't solve.
It's a NextJS application and when I compile it I get an error : error - ReferenceError: window is not defined
This problem comes from my page when adding an import:
import { useConnectWallet, useSetChain, useWallets } from '@web3-onboard/react
If you have an idea or need more information do not hesitate