Hello there, I have a react project open on cursor. For some reason the linter is highlighting an error in a node_modules package:
While if I have a missing import on a random React component it doesn’t complain:
import React from 'react';
import { useConnect, useDisconnect } from '@starknet-react/core';
function UserWallet() {
const { connect, connectors } = useConnect();
const { disconnect } = useDisconnect();
const { address } = useAccount(); // <- no error here
Here for example I would expect some squiggly line under “useAccount” since it’s not imported…
(I can’t upload more than one image since I’m a new user…)
How can I fix this?