Open rdourado-synd opened 4 months ago
I tried adding a simple useState hook in one of the components and it throws an error: Cannot read properties of null (reading 'useState'). Do you know how to fix this? Thank you!
Cannot read properties of null (reading 'useState')
Hello @rdourado-synd, I think the following are the possible issues for the above error.
const [ temp, setTemp ] = useState('');
return (.......);
}
I hope that helps.
I tried adding a simple useState hook in one of the components and it throws an error:
Cannot read properties of null (reading 'useState')
. Do you know how to fix this? Thank you!