I am using nextjs along with tailwind css and a bunch of other libraries like web3uikit. the app work totally fine but as soon as I import ConnectButton from web3uikit and use it in the sidebar component, it gives me the following error: Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
Here's the link to the github repo, just cloning and install the dependencies would help you in setting up the project and then npm run dev.
Go to node_modules -> web3uikit-> node_modules and delete the react folder under it