Im getting a type error saying that the data parameter "must have a 'Symbol.iterator' method that returns an iterator".
How this data paramater is retrieved? As of now the useConnect hook brings ({ chainId, connector, onError, onMutate, onSettled, onSuccess, } right? So Im a bit confused on how to get an entire object with all data from the hook itself. Here is my component:
Im getting a type error saying that the data parameter "must have a 'Symbol.iterator' method that returns an iterator".
How this data paramater is retrieved? As of now the useConnect hook brings ({ chainId, connector, onError, onMutate, onSettled, onSuccess, } right? So Im a bit confused on how to get an entire object with all data from the hook itself. Here is my component:
I also see you have the "types" command with tsc --noEmit. Does that have to do with avoiding this error?