Questions tagged [queryclient]
2 questions
1
vote
3 answers
WagamiConfig Component Cannot read properties of undefined (reading 'queryClient')
I have been trying to add web3modal to my react app however there is an error while running the app in the browser.
import { Web3Modal } from '@web3modal/react'
import { configureChains, createConfig, WagmiConfig } from 'wagmi'
import {…

janek lebor
- 41
- 3
0
votes
2 answers
Using react query instead of useState + sharing it to different component problem
I have component A where I want to set variable using useQuery instead of useState
function A() {
let varA= useQuery(['objA'], '');
then inside A I have dropDown list where I set varA using callback function
const handleDropDownSelect = (e) =>…

David
- 4,332
- 13
- 54
- 93